Skip to content
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

RouterLink renders href with full file path in hash mode #342

Closed
yyx990803 opened this issue Jul 1, 2020 · 1 comment
Closed

RouterLink renders href with full file path in hash mode #342

yyx990803 opened this issue Jul 1, 2020 · 1 comment

Comments

@yyx990803
Copy link
Member

In hash mode the rendered href includes the full file url. Should be just the hash.

@posva
Copy link
Member

posva commented Jul 1, 2020

I realised in vue router 3, the full file url is also included when there is a base but otherwise the href only has the hash. Since the base is already on the URL, I imagine it would make sense to make it consistent and always have only the hash.

What does this change at the end?

@posva posva closed this as completed in 32c9590 Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants