vue配置vue.config.js解决打包以后找不到资源页面空白问题 魏聪_weicong 2022-04-12 58 阅读1分钟 vue.config.js写入 module.exports = { publicPath: "./" , // 设置相对路径 }; router/index.js 把 mode: "history", 注释掉,重新打包