Closed xyy94813 closed 3 months ago
@xyy94813 感谢反馈!一般创建新页面,不需要重新启动,但我不知道什么原因。我今天新建了一个干净的模板,unplugin-vue-router
可以工作,新的页面不需要重新启动。目前,我还没有找到与此问题关联的原因。你可以暂时重启项目解决,我再找找问题,不过需要些时间。
能否帮忙提供些相关信息,以便我排查和验证问题?
例如 实现该功能的库有? win和mac 下是否存在差异点?
相关的库有两个:unplugin-vue-router
和 vue-router
,不否定其它基础库,比如 Vite 或者 Vue 对热更新的影响。
升级到最新版本就可以了!
Test Case:
重新构建后页面会生效