vite-plugin-vue
vite-plugin-vue copied to clipboard
Vite Vue Plugins
### 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 Using Vitest based on vite config, when using for example: ``` vue({ customElement: true, template: { compilerOptions: {...
The order of css <link> tags in index.html after SSR prerender is different from that in development
### Describe the bug My demo is based on [vite ssr-vue example](https://github.com/vitejs/vite/tree/main/playground/ssr-vue). And I just imported a Vant Button in `Home.vue` , and added a custom className to it for...
### Describe the bug Bug with HMR, CSS Modules and SCSS mixins imported with vite. Please see reproduction and link to issue in [nuxt](https://github.com/nuxt/nuxt/issues/20076). @danielroe has also managed to reproduce...
### 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) ### Describe the bug v-model directive changed, vite hmr not work at immediate ### Reproduction https://stackblitz.com/edit/vitejs-vite-edgswe?file=src%2FApp.vue&terminal=dev ### Steps to reproduce change...
### Describe the bug after project run. replace App.vuecode with follows ```vue import { Search } from '@element-plus/icons-vue' // import { Apple } from '@element-plus/icons-vue' import RenderComp from './components/RenderComp' const...
### Describe the bug (See [discussion](https://github.com/vitejs/vite/discussions/8082).) Short version: When I try to `import { BModalComponent } from 'buefy/types/components'` in a vue2 project, vite will fail to run: ``` vite v2.9.8...
### Description Add support environment variables `import.meta.env.VITE_FOO` in Vue templates. ```vue // text.vue {{ import.meta.env.VITE_FOO }} content ``` Currently the code above raises the error: ``` [plugin:vite:vue] Error parsing JavaScript...
### 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 Hey everyone, When using the built-in CSS Modules feature of vue with vite, the generated class...
### Describe the bug Adding a space in a public asset file name causes a build (but not development) failure. Originally reported at https://github.com/nuxt/nuxt.js/issues/13494. ### Reproduction https://stackblitz.com/edit/vitejs-vite-o8aged ### System Info...
### 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 Hello! I'm looking forward to gather all `` tags with a specific `data-id="inline"` attribute from all Vue SFCs,...