摘要: 背景:之前一直用hash模式,改成history模式后刷新页面404 解决:`vue.config.js` 中 `publicPath: "/"` > 如果是线上服务则还需要后端修改一些配置,见链接 [点击查看](https://v3.router.vuejs.org/zh/guide/essent 阅读全文
posted @ 2023-06-25 11:02 Li_pk 阅读(610) 评论(0) 推荐(0)