使用vue-cli4 F5刷新 报错:Uncaught SyntaxError: Unexpected token <

修改vue.config.js:

module.exports = {
    publicPath: '/',
}

注意不是"./"

posted @ 2020-06-28 14:21  二奎  阅读(871)  评论(0编辑  收藏  举报