refactor: nuxt config components

This commit is contained in:
Zack Spear
2023-05-31 14:08:19 -07:00
committed by Zack Spear
parent 0f7f17be24
commit 77535a9307

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