Skip to content

Commit

Permalink
Add more options
Browse files Browse the repository at this point in the history
HomWang authored Aug 15, 2022

Verified

This commit was signed with the committer’s verified signature.
tomhjp Tom Proctor
1 parent ff92446 commit c256b9b
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
@@ -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
]
}
})

0 comments on commit c256b9b

Please sign in to comment.