-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cannot switch between aliased paths #613
Comments
This is expected: vuejs/rfcs#136 |
Ah crap, I'll need to work around then. I was relying on this behavior when using Vue Router 3. Thanks for pointing to the RFC. |
@radek-altof Did you find the solution? I need to navigate between aliases like |
@a0s To be perfectly honest, I don't remember at all, it's been a very long time 😅 |
Version
4.0.0-rc.5
Reproduction link
https://codesandbox.io/s/vue-router-4-reproduction-forked-qxzts
Steps to reproduce
Have a look at router aliases and try clicking through navigation.
What is expected?
You should be able to navigate between aliased paths, even when they resolve to the current route object (so that the path changes).
<router-link>
should haverouter-link-exact-active
class only when the path matches exactly.What is actually happening?
You can't navigate between aliased paths that resolve to the current route object.
<router-link>
hasrouter-link-exact-active
class when an entire route object matches (because of alias).The text was updated successfully, but these errors were encountered: