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