Answers for "click event in router-link"

1

router link @click

<router-link :to="{name: 'landing'}" tag="li" exact v-on:click.native="close()">Home</router-link>
<!-- Use the .native modifier -->
Posted by: Guest on March-27-2020

Browse Popular Code Answers by Language