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