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

整个qiankun 时报错

Open xiaofanchuan159 opened this issue 4 years ago • 1 comments

  1. 把使用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)

xiaofanchuan159 avatar Dec 10 '21 03:12 xiaofanchuan159

我这里也遇到了,官网有什么解决方案吗?子项目单独启动是好的,但是主项目引入就报错了 image

gaofeng222 avatar Jul 28 '22 06:07 gaofeng222