I am trying to use Netlify forms on my Nuxt 3 app. For some reason it is not being picked up by netlify and thus does not work.
here's my page code:
pages/contact.vue
:
<script lang="ts" setup></script>
<template>
<div>
<form name="contact" method="POST" netlify>
<p>
<label>Your Email: <input type="email" autocomplete="off" class="input input-bordered w-full max-w-xs"
name="email" /></label>
</p>
<p>
<label>Message: <textarea name="message" class="textarea textarea-bordered"></textarea></label>
</p>
<p>
<button type="submit" class="btn">Send</button>
</p>
</form>
</div>
</template>
<style scoped></style>
My Nuxt config does not contain any route rules for the contact page. Anyone got any ideas why this is not working?