問題一
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