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