Answers for "router link onclick homepage vue js 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
0

how to make @click in router-link vuejs

<router-link @click.native="remove" to="/remove">Remove</router-link>
Posted by: Guest on April-29-2020

Browse Popular Code Answers by Language