vite-plugin-vue2 icon indicating copy to clipboard operation
vite-plugin-vue2 copied to clipboard

support .js as .jsx and vue jsx without `lang="jsx"` in script tag

Open chenxxzhe opened this issue 3 years ago • 4 comments

  1. Some .js files are used as .jsx files, how to support this case ? I know I can change the file name, but there maybe a better way.

  2. most important In some third-party packages (element-ui), vue component is jsx format but without lang="jsx" in script tag, how to support this case.

chenxxzhe avatar Nov 11 '21 10:11 chenxxzhe

The same problem is bothering me

JackMa007yes avatar Mar 18 '22 13:03 JackMa007yes

same problem with jsx in element-ui any updates 😢?

Abdelrahman-Mahmoud-Dev avatar Apr 10 '22 09:04 Abdelrahman-Mahmoud-Dev

same

hx24 avatar Jun 24 '22 09:06 hx24

https://github.com/vitejs/vite/issues/2727#issuecomment-808679467

Mr-xzq avatar Jul 15 '22 10:07 Mr-xzq