We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 113353e commit 8f8b373Copy full SHA for 8f8b373
src/module.ts
@@ -150,7 +150,7 @@ export default defineNuxtModule<ModuleOptions>({
150
const dirStat = await stat(path).catch(() => null)
151
if (dirStat && dirStat.isDirectory()) {
152
nuxt.hook('components:dirs', (dirs) => {
153
- dirs.push({ path, pathPrefix: false, prefix: '' })
+ dirs.unshift({ path, pathPrefix: false, prefix: '' })
154
})
155
}
156
0 commit comments