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