Answers for "router link active in vue.js"

2

vue + change router link active class

const router = new VueRouter({
  routes,
  linkActiveClass: "active",
  linkExactActiveClass: "exact-active",
})
Posted by: Guest on November-23-2020
1

router link active in vue.js

const router = new VueRouter({
  routes,
  linkActiveClass: "active",
  linkExactActiveClass: "exact-active",
})

or
<router-link to="" active-class="active"></router-link>
Posted by: Guest on September-11-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language