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) ### Describe the bug When you create a component with reactivity the component will have a field `__name` that basically...
### Describe the bug vite.config.ts define: { __VUE_PROD_DEVTOOLS__: JSON.stringify(true), }, If I change VUE_PROD_DEVTOOLS to false or delete this line of code, it will cause the browser of a certain...
### Description In background-image: path in `url()`, the resource will not be parsed correctly ### Suggested solution When compiling a file, automatically convert the alias path of `alias` into 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) ### Description I am developing a plugin to enable SFC's style to work in shadow DOM. My idea is to...
### 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 The `` in App.vue is not scoped. After making the style tag scoped. The old "unscoped"...
### Describe the bug Working from an alternate host following the docs about Backend Integration, when I set `server.origin` to another host, the src links for my image tags are...
### 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 create a custom element inside which I wrap a multi-components vue application. For some reason,...
### 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 My colleague @tongxuanbao and I found an interesting issue when using JSX in Vue 3 for...
### 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 https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#using-vue-sfcs-as-custom-elements 如文档所说,如果需要编译到custom elements,SFC的文件的style是被合理处理过的。 但是jsx格式的文件并没有。 jsx文件代码如下: ```jsx import style from './style.module.less' export default { name: 'Name', props:...
### Discussed in https://github.com/vitejs/vite/discussions/10567 Originally posted by **yuntian001** October 21, 2022 ### Describe the bug 当我用官方的vue ssr demo,改为多个createServer ,不同url路由走不同的server ssr渲染逻辑时会报如下错误,但是页面可以正常展示。 ``` [vite] Internal server error: ENOENT: no such file or...