docs(composables): add more examples for autoImports (#6615)

This commit is contained in:
HomWang 2022-08-15 22:14:00 +08:00 committed by GitHub
parent 33e7fc1752
commit 676514d38b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,9 @@ export default defineConfig({
autoImports: {
dirs: [
// Scan composables from nested directories
'composables/**'
'composables/**',
// 'composables/*/index.{ts,js,mjs,mts}' // one level directories's index.js,
//'composables/**', // Scan all nested directories
]
}
})