VUE中页面F5刷新空白并报错报错:Uncaught SyntaxError: Unexpected token <解决方法

修改vue.config.js:

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

注意不是"./"

posted @ 2020-07-03 16:39  醉温柔  阅读(2983)  评论(0)    收藏  举报