4👍
✅
You need to use <router-link>
instead of <a>
when you want to route to a particular router page:
In HTML5 history mode, router-link will intercept the click event so that the browser doesn’t try to reload the page.
Source:stackexchange.com