mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
docs(composables): add more examples for autoImports
(#6615)
This commit is contained in:
parent
33e7fc1752
commit
676514d38b
@ -80,7 +80,9 @@ export default defineConfig({
|
|||||||
autoImports: {
|
autoImports: {
|
||||||
dirs: [
|
dirs: [
|
||||||
// Scan composables from nested directories
|
// Scan composables from nested directories
|
||||||
'composables/**'
|
'composables/**',
|
||||||
|
// 'composables/*/index.{ts,js,mjs,mts}' // one level directories's index.js,
|
||||||
|
//'composables/**', // Scan all nested directories
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user