File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -359,6 +359,7 @@ Components({
359
359
360
360
// Glob patterns to match file names to be detected as components.
361
361
// When specified, the `dirs` and `extensions` options will be ignored.
362
+ // If you want to exclude components being registered, use negative globs with leading `!`.
362
363
globs: [' src/components/*.{vue}' ],
363
364
364
365
// search for subdirectories
@@ -396,7 +397,8 @@ Components({
396
397
// Allow for components to override other components with the same name
397
398
allowOverrides: false ,
398
399
399
- // filters for transforming targets
400
+ // Filters for transforming targets (components to insert the auto import)
401
+ // Note these are NOT about including/excluding components registered - use `globs` for that
400
402
include: [/ \. vue$ / , / \. vue\? vue/ ],
401
403
exclude: [/ [\\ /] node_modules[\\ /] / , / [\\ /] \. git[\\ /] / , / [\\ /] \. nuxt[\\ /] / ],
402
404
You can’t perform that action at this time.
0 commit comments