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({
359359
360360 // Glob patterns to match file names to be detected as components.
361361 // When specified, the `dirs` and `extensions` options will be ignored.
362+ // If you want to exclude components being registered, use negative globs with leading `!`.
362363 globs: [' src/components/*.{vue}' ],
363364
364365 // search for subdirectories
@@ -396,7 +397,8 @@ Components({
396397 // Allow for components to override other components with the same name
397398 allowOverrides: false ,
398399
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
400402 include: [/ \. vue$ / , / \. vue\? vue/ ],
401403 exclude: [/ [\\ /] node_modules[\\ /] / , / [\\ /] \. git[\\ /] / , / [\\ /] \. nuxt[\\ /] / ],
402404
You can’t perform that action at this time.
0 commit comments