Axios post is not working for netlify forms with vue.js, vue router and parcel-bundler


Axios post is not working with vue router for netlify forms -

Error: Request failed with status code 404

Even followed this instruction: Netlify Forms with Vue @submit.prevent="handleSubmit"

here -

Also configured _redirects as
/* /index.html 200
/* /index.html 404

Any help will be appreciated.
Thank you!

Hey @atiar.cse,
Is the repo for this public or could you please share your Vue form code here so we can take a look?

Hi, It was fixed by pre-rendering the html from inside index.html

1 Like