-
Notifications
You must be signed in to change notification settings - Fork 922
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
[Bug report] Route path is not correct when navigating #1249
Comments
@meteorlxy I found further issue with this. Besides route.path has a delay with page change, When navigating from different layout, the route path initial value will be undefined, then to old value , then to new value E.g.: when navigating from Layout Page is watching
Can we fix ASAP? |
@meteorlxy Any suggestions on this one? I have made plenty of related workaround. This mainly breaks any feature related with route path and query |
Description
When accessing
route.path
atonMounted
lifecycle, the value is the previous page, and this is not an expected behavior:A normal vue app is working as expected: https://stackblitz.com/edit/vitejs-vite-ssyfup?file=src%2Fcomponents%2FB.vue,src%2Fcomponents%2FC.vue,src%2Fcomponents%2FHome.vue&terminal=dev
Reproduction
https://stackblitz.com/edit/vuepress-ewt9uy?file=docs%2Fguide%2FREADME.md
Used Package Manager
npm
System Info
The text was updated successfully, but these errors were encountered: