unplugin-vue-components
unplugin-vue-components copied to clipboard
📲 On-demand components auto importing for Vue
### 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配置**  **组件层级** src --componnets ----A.vue( index.js导出) --views ----OnePageView.vue ----A.vue **OnePageView.vue**  **问题描述** 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  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...
### Describe the bug Got this showing up from time to time and failing the build or crashing vite.  ### Reproduction https://github.com/ThomasKientz/vite-vuetify-2-template ### System Info ```Shell System: OS:...
### Describe the bug 当我首次书写一个组件(自定义的最简单的小组件)后,自动引入会生效,页面可正常使用组件,项目运行正常。 但是,当我重启项目之后,自动引入就会失效,之前可正常展示的组件也会无法解析。 控制台报:Failed to resolve component: xxx 配置如下:  ### 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...