原文位址
Vue3.0項目報錯: history模式下 Uncaught SyntaxError: Unexpected token history模式下 vue.config.js中publicPath不要設定為相對路徑
正确如下
Vue3.0項目報錯: history模式下 Uncaught SyntaxError: Unexpected token
Vue3.0項目報錯: history模式下 Uncaught SyntaxError: Unexpected token
Vue3.0項目報錯: history模式下 Uncaught SyntaxError: Unexpected token