Open
Description
Reproduction
https://github.com/char101/vue1
Steps to reproduce the bug
- Run
pnpm run dev
- Click button, verify that the counter is increasing
- Add a comment on
Test.vue
to trigger hmr - The button is no longer working, when clicking the button for the first time, the url is updated which implies that
$router.push
is working, butbeforeRouteUpdate
is not triggered.
Expected behavior
beforeRouteUpdate should still works after hmr.
Actual behavior
beforeRouteUpdate not called after hmr.
Additional information
No response