active components vue code example Example: vue router active class <router-link to="" active-class="active">Home</router-link>