Replies: 2 comments
-
vue 2 支撑 jsx 还需插件 https://github.com/vitejs/vite-plugin-vue2-jsx |
Beta Was this translation helpful? Give feedback.
-
@alex8088 配置了 依然报同样的错
error during preview electron app: |
Beta Was this translation helpful? Give feedback.
-
vue2配置后, jsx无法解析, 请问如何配置
RollupError: [vite:build-import-analysis] [plugin vite:build-import-analysis] xxxxx (312:19): Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin
-vue to handle .vue files.
我用的是
import vue from '@vitejs/plugin-vue2';
@vitejs/plugin-vue2这个插件配置renderer
Beta Was this translation helpful? Give feedback.
All reactions