fix: add pathPrefix: false to components config for auto-import

Nuxt prefixes components in subdirectories (layout/AppHeader → LayoutAppHeader).
Setting pathPrefix: false allows using <AppHeader>, <HeroSection>, etc. directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-08 18:47:05 +02:00
parent 25e910d030
commit e88a33987a
+3
View File
@@ -12,6 +12,9 @@ export default defineNuxtConfig({
'nuxt-gtag', 'nuxt-gtag',
'@nuxt/image' '@nuxt/image'
], ],
components: {
pathPrefix: false,
},
typescript: { typescript: {
strict: true strict: true
}, },