diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-10 01:31:42 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-10 01:31:42 +0000 |
| commit | 71e4ad2c71efea471923ea47f01bfda841387f81 (patch) | |
| tree | f08293fdc56b4eb2e3d0e520b79b4d8aad78924c /nuxt.config.ts | |
| parent | 4495c02c41b95ce6df0c34dbf6ac62f7addae7a3 (diff) | |
Use nuxt auto import magic
Diffstat (limited to 'nuxt.config.ts')
| -rw-r--r-- | nuxt.config.ts | 5 |
1 files changed, 5 insertions, 0 deletions
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: [ // ... |
