Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs(composables): add more examples for autoImports (#6615)
Browse files Browse the repository at this point in the history
  • Loading branch information
HomWang committed Aug 15, 2022
1 parent 33e7fc1 commit 676514d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/content/2.guide/3.directory-structure/5.composables.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
}
})
Expand Down

0 comments on commit 676514d

Please sign in to comment.