can i use vue to submit the form without reloading the page code example
Example: vue submit reloads page
<form @submit.prevent="onSubmit"></form>
<script>
export default {
methods: {
onSubmit () {
// Do something...
}
}
};
</script>