Skip to content

Route isn't the same on refresh #2383

Discussion options

You must be logged in to vote

This is because thi initial navigation is async: https://router.vuejs.org/guide/migration/#All-navigations-are-now-always-asynchronous
What you see is the START_LOCATION variable. You can change this behavior by doing await router.isReady() before app.mount()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2382 on October 10, 2024 11:55.