unplugin-vue-components
unplugin-vue-components copied to clipboard
📲 On-demand components auto importing for Vue
### Description Add resolver to auto import maz-ui components
### Describe the bug vue使用cdn引入后,vant依赖无法被打包,components.d.ts文件中会自动删除vant组件 ### Reproduction 使用vite-plugin-cdn-import-async,将vue用cdn引入,打包时会自动删除vant ### System Info ```Shell mac ``` ### Used Package Manager npm ### Validations - [X] Follow our [Code of Conduct](https://github.com/antfu/.github/blob/main/CODE_OF_CONDUCT.md) - [X]...
### Describe the bug  # 像这样的全局组件结构,实际上我只需要导出index我应该怎么搞 ### Reproduction 无 ### System Info ```Shell 无 ``` ### Used Package Manager npm ### Validations - [X] Follow our [Code of Conduct](https://github.com/antfu/.github/blob/main/CODE_OF_CONDUCT.md)...
比如 /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 ```js // 能否增加一个配置,方便过滤不需要的组件呢? // ignore: ['node_modules', '**/components'] const files = fg.sync(ctx.options.globs, { ignore: ctx.options.ignore || ['node_modules'], onlyFiles: true, cwd: root, absolute: true, }) ```
### Describe the bug I created a project with *vite* and *vue2* by **create-vue**, then I use this and **unplugin-auto-import** tools to import *element-ui* components. It's ok in *development stage*....
### Describe the bug I want to use the latest version ### Reproduction - ### System Info ```Shell - ``` ### Used Package Manager npm ### Validations - [X] Follow...
custom component can't use kabab case , capital case is work fine. `` work fine `` some error Any options can resovle the problem?
### Describe the bug Hello, I get this error: " No known conditions for "./lib" specifier in "element-plus" package" for all versions of Element plus after 2.3.7. My configuration is...
### Clear and concise description of the problem hey, in my project I faced a problem with registered component names, all my components have a `.copmonent` extension as a suffix...
### Describe the bug On a fresh vuetify 3 project, building fails after adding `unplugin-vue-compoents`. ### Reproduction: #### create vuetify project ```cmd pnpm create vuetify .../Local/pnpm/store/v3/tmp/dlx-68692 | +11 + .../Local/pnpm/store/v3/tmp/dlx-68692...