vite-plugin-vue
vite-plugin-vue copied to clipboard
Vite Vue Plugins
### Describe the bug  After making random changes in this file, hot update can no longer get the viewer value; Finally, it was found that the router in http...
### Related plugins - [X] [plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue) - [X] [plugin-vue-jsx](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue-jsx) ### Description Problem description address: https://mp.weixin.qq.com/s/vlvTXYRgtbhW3-RkuaV2Mg Problem sample code address: https://github.com/meizilove258/vite-code-split.git ### Suggested solution plugin-vue:export-helper and vite/modulepreload-polyfill and vite/preload-helper, pull out...
### Related plugins - [X] [plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue) - [ ] [plugin-vue-jsx](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue-jsx) ### Description When building a Vue component library using Vite and this plugin. Component names are not emitted into productions...
### Describe the bug I import `vue` and a 3rd package [`vue-virtual-scroll-list`](https://unpkg.com/[email protected]/dist/index.js) which requires `vue`. It works fine in dev, but raises the following error if I preview the bundle...
### Related plugins - [X] [plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue) - [ ] [plugin-vue-jsx](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue-jsx) ### Description I want to be able to control the esbuild options used when transpiling SFC `script` tags. Vite itself...
### Describe the bug Suppose I have a minimal `App.vue` like this: ```vue ``` The URL `/test` is not a module in my project but an image I'd like to...
### Describe the bug  vitejs/vite#3101 had fixed for es,but cjs not and How can I clean b_vue_vue_type_style_index_0_scoped_true_lang? ### Reproduction https://github.com/Veiintc/vite-cjs-csslose.git ### System Info ```shell System: OS: Windows 10 10.0.19042...
### Describe the bug I have written a Vue 3 package with a component and a composable, the component uses the composable for logic and is exposed outside the app...
### Describe the bug after the import component library, prompt error, error message:  @xx/up-ui is independent research and development components ``` { "name": "vite-vue2", "version": "0.1.0", "private": true, "scripts":...
### Describe the bug Vue plugin will generate a full path to import style parts in SFC. If we set the base URL to `/home/` on Linux, it will fail...