diff --git a/nuxt.config.ts b/nuxt.config.ts index 268a98434..ebdcac373 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -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