多入口项目中引用mui报错 "export 'default' (imported as 'mui') was not found in '../publicjs/mui'

"export 'default' (imported as 'mui') was not found in '../publicjs/mui'

找了很多方法,最后发现是自己的失误,原因是我的mui.js中根本就没有导出mui,这样引用的时候就不能用 import mui from '../publicjs/mui.js',而是直接 import '../publicjs/mui'

posted @ 2020-04-05 23:56  leahtao  阅读(3592)  评论(0编辑  收藏  举报