vite-plugin-vue
vite-plugin-vue copied to clipboard
Vite Vue Plugins
### Description The feature `allow browser to cache npm deps` [deps](https://github.com/vitejs/vite/blob/main/packages/vite/src/node/server/middlewares/transform.ts#209) is very useful, but it has a problem like this [repo](https://github.com/windsonR/vite-cache-issue) reproduction steps: 1. Download repo and `pnpm install`...
### 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 Hi there, For the TresJS library, we need to dispose of 3D scene objects on HMR, the problem...
### 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) ### Describe the bug In 4.5.2 and below components with `v-if` would have 100% test coverage, now with 4.6.0 and...
### 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) ### Describe the bug When updating CSS inside Vue components, referenced by the src attribute, the styles do not update...
### Description https://github.com/vitejs/vite/pull/14660 is needed. ### Additional context --- ### What is the purpose of this pull request? - [ ] Bug fix - [ ] New Feature - [...
### Related plugins - [ ] [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) ### Describe the bug ```JavaScript import { defineComponent } from 'vue'; const monacoEditorTemplateCode = 'export default defineComponent'; export default defineComponent({...
### Related plugins - [ ] [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) ### Describe the bug Reproduction Steps: 1. open `src/a.tsx` 2. change the first `v.value` to `v`, web page will lose...
### 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) ### Describe the bug I am trying to run a vite dev mode in an environment where order of query...
### Description Fix #18 ### Additional context --- ### What is the purpose of this pull request? - [ ] Bug fix - [x] New Feature - [ ] Documentation...
### Description ```JavaScript if (hasDefault && (needHmr || ssr)) { result.code = result.code!.replace( /export default defineComponent/g, `const __default__ = defineComponent`, ) + `\nexport default __default__` } ``` The code above...