Since upgrading to v2.18.0 router links in history mode seem to be completely broken, since they don't generate the correct HTML anymore — the href-attribute is just "#" no matter what the router link target is. Clicking the links still works though.
Steps to reproduce the bug<p><router-link :to="{ name: 'Home' }">Router Link</router-link></p> <p><b-link :to="{ name: 'Home' }">Bootstrap Link</b-link></p>
The produced HTML:
<p><a href="/" aria-current="page" class="router-link-exact-active router-link-active">Router Link</a></p> <p><a href="#" aria-current="page" class="router-link-exact-active router-link-active" target="_self">Bootstrap Link</a></p>Expected behavior
The router link should also produce href="/"
(and did so in version prior to v2.18.0*
Libraries:
Environment:
Reproduction link — Fresh Vue CLI installation
Locksam, U3R1YXJ0 and johnkarpn
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4