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