unplugin-vue-components icon indicating copy to clipboard operation
unplugin-vue-components copied to clipboard

📲 On-demand components auto importing for Vue

Results 269 unplugin-vue-components issues
Sort by recently updated
recently updated
newest added

### Describe the bug The `dts` option cannot work with a path. There is nothing will be generated after serve on. The `importStyle` option will throw a error with `true`(It...

Because it qualifies as "derived state", we do not check in our `components.d.ts` file into source control. For our typechecking CI actions, it is crucial that all of the components...

### Describe the bug element-plus 中使用服务方式调用Loading ,不会自动引入样式 ```ts this.loading = ElLoading.service({ lock: true, text: '正在卖力加载中....' }); ``` ### Reproduction this.loading = ElLoading.service({ lock: true, text: '正在卖力加载中....' }); ### System Info...

### Describe the bug **库版本** vue2.7 "unplugin-vue-components": "^0.25.2" "webpack": "^5.76.0 **vue.config.js配置** ![image](https://github.com/unplugin/unplugin-vue-components/assets/32378929/82d10401-6f3f-4324-a76e-e7cbd4b4b65a) **组件层级** src --componnets ----A.vue( index.js导出) --views ----OnePageView.vue ----A.vue **OnePageView.vue** ![image](https://github.com/unplugin/unplugin-vue-components/assets/32378929/0593c290-4ef6-4a00-84b8-dce7b8993b3c) **问题描述** 1. src/components 有被配置到dirs属性中 2. OnePageView.vue中渲染的组件理论上期望是 ./A.vue, 但实际上渲染的组件是src/components/A.vue。...

### Describe the bug I created a Vue 3 project using Vite and added multiple-level routes. After using the plugin, the automatic component import feature works, but in the development...

### Describe the bug [](url)I am having following error on running npm run dev While it is compiling using npm run build ![Screenshot-2023-07-28-at-8-46-51-AM](https://github.com/antfu/unplugin-vue-components/assets/21355037/dab20660-204e-4579-b751-9f04f29dbdc8) vite.config.js ``` import { defineConfig, splitVendorChunkPlugin }...

### Describe the bug When I first write a component, the automatic import will take effect, the page can use the component normally, and the project runs normally. However, when...

needs reproduction

### Describe the bug Got this showing up from time to time and failing the build or crashing vite. ![Erreur Front](https://user-images.githubusercontent.com/10157845/214136238-818da7db-e81a-4653-885b-0399427941f4.PNG) ### Reproduction https://github.com/ThomasKientz/vite-vuetify-2-template ### System Info ```Shell System: OS:...

### Describe the bug 当我首次书写一个组件(自定义的最简单的小组件)后,自动引入会生效,页面可正常使用组件,项目运行正常。 但是,当我重启项目之后,自动引入就会失效,之前可正常展示的组件也会无法解析。 控制台报:Failed to resolve component: xxx 配置如下: ![image](https://github.com/unplugin/unplugin-vue-components/assets/31613999/21f6ef82-858f-489f-aed8-53983fa3afc7) ### Reproduction ### System Info ```Shell System: OS: Windows 10 10.0.19045 CPU: (8) x64 11th Gen Intel(R)...

### Describe the bug `components.d.ts` does not update when file added/deleted in `src/components`(using vue cli, `pnpm serve` is running). I'm also using Nuxt, I noticed that in Nuxt when file...