Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0.beta.1版本,vite热更新失效 #233

Open
DingYUY opened this issue Jan 8, 2025 · 2 comments
Open

5.0.beta.1版本,vite热更新失效 #233

DingYUY opened this issue Jan 8, 2025 · 2 comments

Comments

@DingYUY
Copy link

DingYUY commented Jan 8, 2025

最新创建的项目中使用了5.0.beta.1版本,使用时发现,触发hmr update后,没有触发page reload,vue文件中style样式可以正常更新,但是template标签中新增的内容没有热更新

@DingYUY
Copy link
Author

DingYUY commented Jan 8, 2025

比如说我在模版中随便添加一个111文本
image
可以看到触发了hmr update,但是没有触发page reload
image
页面中也没有更新
刷新页面后才出现
image

@pany-ang
Copy link
Member

我这边暂时没有复现你提到的问题,你可以先检查一下路由表、页面文件、相关组件等文件中书写的 Name 是否一直,特别是大小写

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants