1const router = new VueRouter({
2 routes,
3 linkActiveClass: "active",
4 linkExactActiveClass: "exact-active",
5})
6
1const router = new VueRouter({
2 routes,
3 linkActiveClass: "active",
4 linkExactActiveClass: "exact-active",
5})
6
7or
8<router-link to="" active-class="active"></router-link>