摘要: 首先 项目打包步骤 1、vue config.js 添加 publicPath: './', // 公共路径 assetsDir:'static', 2、将代理注释掉 proxy 3、将hash需要改成history的模式,但是改后又出现了新的问题,刷新的时候找不到页面 404 报错: 一直报错误 阅读全文
posted @ 2019-12-14 11:25 人在路途 阅读(916) 评论(2) 推荐(0) 编辑