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