赞
踩
(1):找到配置文件 vue.config.js,插入红框代码⬇️⬇️⬇️:
(2):找到路由配置文件(router/index.js),
histroy 改成 hash ⬇️⬇️⬇️:
结束!直接 npm run build 吧!