refactor: nuxt config components

This commit is contained in:
Zack Spear
2023-05-31 14:08:19 -07:00
parent 481e0a6e41
commit e6745b0ddb

View File

@@ -10,6 +10,10 @@ export default defineNuxtConfig({
'@nuxtjs/tailwindcss',
'nuxt-custom-elements',
],
components: [
{ path: '~/components/UserProfile', prefix: 'Upc' },
'~/components',
],
runtimeConfig: {
public: { // will be exposed to the client-side
callbackKey: '', // set in .env https://nuxt.com/docs/guide/going-further/runtime-config#environment-variables