-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Description
Vue version
3.2.45
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-knceak?file=src%2FDemoA.vue,src%2FApp.vue&terminal=dev
Steps to reproduce
When I do not modify any code, the operation is very normal, and the DemoA page and DemoB page can be switched normally. However, if DemoA.vue or DemoB.vue is modified, the page switching will be invalid and there will be no error message. I have tried many versions. All versions have this problem. After deleting keep-alive, it will be normal
What is expected?
DemoA and DemoB can be opened normally after hmr
What is actually happening?
After hmr, the page cannot be switched normally, just like this page does not exist
System Info
No response
Any additional comments?
No response
zhangzhonghe, shengxinjing and moon-in-river