router-link onclick code example
Example 1: router link @click
<router-link :to="{name: 'landing'}" tag="li" exact v-on:click.native="close()">Home</router-link>
<!-- Use the .native modifier -->
Example 2: how to make @click in router-link vuejs
<router-link @click.native="remove" to="/remove">Remove</router-link>