@vitejs/plugin-vue是否支持将xxx.jsx文件编译为custom element的同时,将style以linine css插入到shadow root #303
Open
8 of 9 tasks
Labels
enhancement
New feature or request
p2-nice-to-have 🍰
Not breaking anything but nice to have (priority)
Related plugins
plugin-vue
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文件代码如下:
Reproduction
稍后提供
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: