0๐
// Header.vue
<ul class="">
<li class="">
<router-link to="/">Home</router-link>
</li>
<li class="">
<router-link to="/post">Post</router-link>
</li>
</ul>
Do not use @click with router-link
- [Vuejs]-How to create an empty ion-badge
- [Vuejs]-How can I return an empty instance from a getter in Vuex?
Source:stackexchange.com