Form with NuxtJS not working (404 not found)

Dear community,

Netlify site: http://boring-nightingale-ad1ecb.netlify.app/
Stack: VueJS + NuxtJS
Problem: The form (all the way at the bottom), does not send the message and sends the user to a 404 not found netlify page

Form:

<form
 name="contact-form"
 method="POST"
 netlify
>
   <input
     type="text"
     name="message"
     placeholder=""
     />

     <input type="hidden" name="form-name" value="contact-form" />

     <input type="submit" />

</form>

Can someone kindly help me? Is there a problem in the code?

Thank you!

Have you checked this out: How to Integrate Netlify Forms in a Vue App?

Basically, according to that page, you either need to add one dependency, or add a dummy form in the public folder.

Thanks for the link but I haven’t been able to do this with Nuxt.js

The dependency is already there in Nuxt (it’s called generate and I’m using it) and there is no public folder in Nuxt…

Any other ideas?

It’s there, it’s called static. Try with that.

It worked, thank you!