diff --git a/docs/2.guide/2.directory-structure/1.components.md b/docs/2.guide/2.directory-structure/1.components.md index 5c66ade6ee..a6fb461af3 100644 --- a/docs/2.guide/2.directory-structure/1.components.md +++ b/docs/2.guide/2.directory-structure/1.components.md @@ -427,7 +427,7 @@ export default defineNuxtModule({ const { resolve } = createResolver(import.meta.url) // Add ./components dir to the list dirs.push({ - path: fileURLToPath(resolve('./components')), + path: resolve('./components'), prefix: 'awesome' }) }