vite-plugin-vue
vite-plugin-vue copied to clipboard
Vite Vue Plugins
### 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 ```tsx // Foo.tsx export { Foo } const Foo = defineComponent(/* ... */) ``` This will...
### 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 With the following plugin: ```js // [vite.config.ts] export default defineConfig({ plugins: [ vue({ exclude: /\?repro/, }),...
### Description required https://github.com/vuejs/core/pull/13926 ### Additional context --- ### What is the purpose of this pull request? - [ ] Bug fix - [x] New Feature - [ ] Documentation...
### Description improve HMR handling for vue files that other plugins may have transformed alternative for #306 fix: #301, https://github.com/unocss/unocss/issues/3358 ### Additional context --- ### What is the purpose of...
### 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 development, components with `` and inline template have a `render` property, but it's absent in...
### 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 If a plugin watches an imported Vue file for changes via `addWatchFile()` HMR may not trigger...
### Related plugins - [ ] [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 外部引入 .scss 文件中无法使用 scss 函数,单文件中直接使用是可以的 vite.config.ts ```ts import { defineConfig } from 'vite' import vue...
### 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) ### Description I am currently improving babel-plugin-jsx to make it support more comprehensive automatic inference and runtime props injection, as...
### 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) ### Description `plugin-vue-jsx` uses syntactic analysis for HMR invalidation. This currently supports a [specific set of syntax forms](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue-jsx/README.md#hmr-detection). Most of...
In https://github.com/vitejs/vite-plugin-vue/pull/602, I skipped some tests for rolldown-vite. We should re-enable these after the upstream issues are resolved. - [x] `playground/vue-lib` > `should output tree shakeable css module code`: blocked...