We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Stackblitz
Go to Other page id 1 You'll see that all id's are 1
Then go to Main Page
3.Then go to Other page id 2 You'll see that all id's are 2 except first. Location Outside wiill be still 1
it is updated only when declaring a variable inside the method during auto-import or when importing from vue-router
No response
The text was updated successfully, but these errors were encountered:
Start a new pull request in StackBlitz Codeflow.
Sorry, something went wrong.
Hello 👋, you can use const route = useRouter().currentRoute.value; to get reactive route object.
const route = useRouter().currentRoute.value;
Hello! Thank you a lot! It actually works. However, I don't think this is the solution to the useRoute problem
No branches or pull requests
Environment
Reproduction
Stackblitz
Describe the bug
Go to Other page id 1
You'll see that all id's are 1
Then go to Main Page
3.Then go to Other page id 2
You'll see that all id's are 2 except first. Location Outside wiill be still 1
it is updated only when declaring a variable inside the method during auto-import or when importing from vue-router
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: