-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Allow reloading of the current route when clicked #2957
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
Comments
Duplicate of #974 |
Yes and also a duplicate of #2430 |
If you know it was a duplicate, please don't open a new issue... |
Apologies, I didn't realise that #974 was still open, I just saw that it was opened 3 years ago and assumed it was closed. |
What problem does this feature solve?
I think it's important for
vue-router
to try mimic native browser for such as when dealing with links being clicked. Adding an option to allow the current route being reloaded when clicked would allow any API requests to be re-fetched that located under the navigational guards (beforeEach, beforeRouteEnter, etc)What does the proposed API look like?
Maybe include a router instance option to allow for this behaviour
The text was updated successfully, but these errors were encountered: