2👍
I guess using FormData API would work.
Below some examples:
How to post a file from a form with Axios
axios post request to send form data
-1👍
I Recommend using VeeValidation
for validating your form after submitting it.
Its really simple and sweetest validation methods.
You can install it from here. VeeValidation Link
- [Vuejs]-How to get response header from axios fetch response?
- [Vuejs]-Is there a way to pass muttiple values which are not in side a component(dom)?
Source:stackexchange.com