控制台打开报错的文件,定位到相应的插件;
在vue.config.js中配置:
'transpileDependencies': [/[/\\]node_modules[/\\](.+?)?exceljs(.*)/, /[/\\]node_modules[/\\](.+?)?crypto-js(.*)/]
css3不兼容:
npm install css-vars-ponyfill mutationobserver-shim —save
main.js中配置:
import 'mutationobserver-shim'
import cssVars from 'css-vars-ponyfill'
cssVars({
watch: true
})