-
-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(建议) 能否增加ignore配置 #578
Comments
可以配置的吧,虽然不是 ignore ,但是配合 include 和 exclude 应该也可以达到你想要的那个效果吧,按照文档配置是这么说的 |
Merged
这个 pr 通过后可以配置 globs = [ !components/button/components/loading.vue ], 前面加 ! 排除文件 |
我觉得这个功能使用场景还是挺多的,如果能像uniapp 的easycom这样配置就更好用了 |
可以参考这种方式来匹配 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如
/components/button/index.vue
/components/button/components/loading.vue
"/components/button/components/loading.vue"是button子组件并不想暴露给用户
https://github.com/antfu/unplugin-vue-components/blob/05196ec4d82566058585234dcad00c90787a490e/src/core/fs/glob.ts#L12
The text was updated successfully, but these errors were encountered: