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:
@@ -12,6 +12,9 @@ export default defineNuxtConfig({
|
|||||||
'nuxt-gtag',
|
'nuxt-gtag',
|
||||||
'@nuxt/image'
|
'@nuxt/image'
|
||||||
],
|
],
|
||||||
|
components: {
|
||||||
|
pathPrefix: false,
|
||||||
|
},
|
||||||
typescript: {
|
typescript: {
|
||||||
strict: true
|
strict: true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user