vite-plugin-theme
vite-plugin-theme copied to clipboard
整个qiankun 时报错
- 把使用vite-plugin-theme的项目当成子项目后,整合到qiankun后报错,有解决方案吗?
[import-html-entry]: error occurs while executing normal script http://localhost:3100/D:/cpit-teamwork-ui-main/node_modules/vite-plugin-theme/es/client.js
Uncaught SyntaxError: Unexpected token 'export'
at eval (
) at geval (index.js?50b2:162) at exec (index.js?50b2:191) at schedule (index.js?50b2:217) at schedule (index.js?50b2:222) at eval (index.js?50b2:228) at new Promise ( ) at eval (index.js?50b2:227)
我这里也遇到了,官网有什么解决方案吗?子项目单独启动是好的,但是主项目引入就报错了
