02 2025 档案

摘要:1、在 vite.config.js 中添加(ts版本则为 vite.config.ts) base: './' 2、将路由模式改为 hash 模式 history: createWebHashHistory() 3、注意检查路由文件需要由函数导入 (我的是未使用箭头函数导入,本地运行正常,但部署后 阅读全文
posted @ 2025-02-22 04:13 悬剑丶 阅读(26) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示