问题一
Cannot read property ‘range’ of null
错误行的代码
component: () => import(’…/xxxx,vue’),
解决办法
修改.eslintrc,加入
rules : {
"template-curly-spacing" : "off",
"indent" : "off"
}
问题二
error
static/js/vendor.fd5e525e.js from UglifyJs
undefined
解决办法
npm i -D uglifyjs-webpack-plugin@beta