-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Hash mode router-link generated anchor href not a hash url #780
Comments
Should not be too hard, and seems nessessary now that we just added support for "new tab with middle click" again (#758). |
@tilleps use |
Run into this issue too. The root cause should be here: https://github.com/vuejs/vue-router/blob/dev/src/components/link.js#L33 |
Why was this closed? The latest version does not contain a fix yet. |
@marvinroger - this has been fixed on dev (see #809). A release just hasn't been published with the changes yet. |
Alright, thanks! |
For "hash" being the default mode, shouldn't the generated anchors generate hashed URLs? (For cases where one would want to copy URL or open link in a new tab/window)
The following
router-link
:Generates:
Expected:
Clicking on the generated (non-hashed) anchor seems to work, it changes the URL to the hashed version of the URL.
The text was updated successfully, but these errors were encountered: