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  如图 调试 在 export default 那里灰色 进入不了 ,实际console打印不出 alert可以 怀疑是map 映射 压缩定到那一行了? ### file :...
### 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 According to the existing code: ```js const filter = createFilter(include || /\.[jt]sx$/, exclude) ... if (filter(id) || filter(filepath))...
hmr死循环渲染
### Describe the bug 父组件注入响应式数据到子组件,子组件修改响应式数据,父组件展示此响应式数据,子组件修改时触发渲染,由于slot中存在子组件,造成子组件又渲染,子组件又修改了响应式数据,使得死循环。不知道算不算问题,不算的话直接关掉了 ### Reproduction https://stackblitz.com/edit/vitejs-vite-tu3tor?file=src%2FComp.vue,src%2FComp1.vue&terminal=dev ### Steps to reproduce 开发模式下修改Comp1.vue的all.value.push("1")的push值即可,可以看到多了很多一样的数据 修改可以把Comp.vue的{{all}}注释掉 ### System Info ```shell System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU...
### Describe the bug I set my build/esbuild target to something below ES2020 in order to support by target browser (~Safari 13, supports around ES2019, pre-ES2020). Then I can use...
### Describe the bug With Quasar I'm using the `@quasar/vite-plugin v1.1.1` and the plugin property `autoImportComponentCase: 'pascal'` When using this in combination with a `template lang=pug` and `style scoped` I...
### 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 initially loading a page that contains Vue Single File Components which reference an external template...
### 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 import { defineComponent } from "vue"; export const Test = defineComponent({ render() { return Then...
### Describe the bug // vite.config.ts alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } // index.vue - useless ``` ``` // in this case, open brower net record can see the...
### 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 ```html hello ``` 上面的代码模版中的`as string`不会转成js,导致开发调试控制台报错`SyntaxError: Unexpected identifier 'as'` ### Reproduction https://stackblitz.com/edit/vitejs-vite-ow1rvx?file=src/App.vue ### Steps to reproduce _No...
### Describe the bug In Nuxt 3, custom queries are added to id when importing files under pages directory, such as `/pages/index.vue?vue&type=script&lang.jsx¯o=true` (in this case, `macro=true`) In this case, vue...