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