how to add @click to router-link component code example
Example: router link @click
<router-link :to="{name: 'landing'}" tag="li" exact v-on:click.native="close()">Home</router-link>
<!-- Use the .native modifier -->
<router-link :to="{name: 'landing'}" tag="li" exact v-on:click.native="close()">Home</router-link>
<!-- Use the .native modifier -->