submit prevent in vue code example Example: vue prevent button from submitting form <form v-on:submit.prevent>