Skip to content

Commit 0a7077a

Browse files
committed
fix: deprioritise ~/components/content directory
1 parent 3742d94 commit 0a7077a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export default defineNuxtModule<ModuleOptions>({
150150
const dirStat = await stat(path).catch(() => null)
151151
if (dirStat && dirStat.isDirectory()) {
152152
nuxt.hook('components:dirs', (dirs) => {
153-
dirs.unshift({ path, pathPrefix: false, prefix: '' })
153+
dirs.push({ path, pathPrefix: false, prefix: '' })
154154
})
155155
}
156156
}

0 commit comments

Comments
 (0)