underfin / vite-plugin-vue2

Vue2 plugin for Vite
620 stars 83 forks source link

.vue后缀的jsx组件无法编译 #214

Open Loveyless opened 1 year ago

Loveyless commented 1 year ago

报错 The esbuild loader for this file is currently set to "js" but it must be set to "jsx" to be able to parse JSX syntax. You can use "loader: { '.js': 'jsx' }" to do that. 我在vite中配置了 image

不过估计不是这个原因 因为后缀是.vued😭

bingowujihuan commented 1 year ago

image can i use plugin in node_modules lib for vue2 components