button click preventDefault vuejs code example
Example: vuejs form prevent default event
<form
action="/"
v-on:submit.prevent="yourFunction"
>
...
</form>
<form
action="/"
v-on:submit.prevent="yourFunction"
>
...
</form>