From e6745b0ddb48b478d1037809b5ef12df51936f17 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Wed, 31 May 2023 14:08:19 -0700 Subject: [PATCH] refactor: nuxt config components --- nuxt.config.ts | 4 ++++ 1 file changed, 4 insertions(+) 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