From 71e4ad2c71efea471923ea47f01bfda841387f81 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Sun, 10 Mar 2024 01:31:42 +0000 Subject: Use nuxt auto import magic --- nuxt.config.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nuxt.config.ts') diff --git a/nuxt.config.ts b/nuxt.config.ts index 5a04e12..b208d99 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,5 +1,10 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ + components: [ + { path: '~/components', pathPrefix: true }, + { path: '~/components/base', pathPrefix: false }, + { path: '~/components/header', pathPrefix: false }, + ], devtools: { enabled: true }, modules: [ // ... -- cgit v1.2.3-70-g09d2