1、vue项目报错chunk-vendors.js:1 Uncaught SyntaxError: Unexpected token ‘<‘ (at chunk-vendors.js:1:1) app.js
vue项目报错chunk-vendors.js:1 Uncaught SyntaxError: Unexpected token ‘<’ (at chunk-vendors.js:1:1)
app.js:1 Uncaught SyntaxError: Unexpected token ‘<’ (at app.js:1:1)
百度了很久终于找到了解决方法
将vue.config.js中的 publicPath:’./‘修改为 publicPath:’/’就好啦