Nuxt

Nuxt contact form without a server route

Add a Nuxt contact form with useFormsReach from @formsreach/vue. No server route, no nodemailer stack, no DIY delivery pipeline. Deliver submissions by email with spam filtering and to WhatsApp in seconds, metered with monthly credits.

Set up FormsReach with Nuxt

Connect your form in a few steps. No custom backend required.

  1. 1

    Install @formsreach/vue

    npm install @formsreach/vue and create an API key at FormsReach.

  2. 2

    Add a form component

    Create a Vue SFC with script setup. Import useFormsReach and bind the form with @submit.prevent="submit".

  3. 3

    Use it from any page

    Import the component into a Nuxt page or layout. Test email and/or WhatsApp delivery with your free monthly credits.

Nuxt snippet

Copy this into your project, then swap in your FormsReach API key.

          <!-- npm install @formsreach/vue -->
<script setup>
import { useFormsReach } from '@formsreach/vue';

const { submit, submitting } = useFormsReach('YOUR_API_KEY');
</script>

<template>
  <form @submit.prevent="submit">
    <input type="text" name="name" required />
    <input type="email" name="email" required />
    <textarea name="message" required />
    <button type="submit" :disabled="submitting">Submit Form</button>
  </form>
</template>
        

Server routes are optional for contact forms

Nuxt makes it easy to add server/api handlers - and easy to overbuild. For many marketing and product sites, a contact form only needs a reliable form API and email and WhatsApp delivery from one credit pool, not a custom mail stack. Credits meter usage across channels.

Platform notes

Troubleshooting

What you get

Monthly credits for submissions and delivery. Scale when volume grows.

Free

500 credits every month for form submissions, email, webhooks, and workflow rules. Spam filtering included. No credit card required.

Starter, Pro & Agency

Larger monthly credit pools (2,000 / 5,000 / 18,000). WhatsApp via Meta Business API unlocks on Pro and Agency. See pricing.

FAQ

Common questions about FormsReach with Nuxt.

Do I need a Nuxt server route for contact forms?+

Not for standard contact forms. FormsReach is the form backend, so you do not need server/api/contact.post.ts just to forward email and WhatsApp.

Which package should Nuxt apps install?+

@formsreach/vue - the same useFormsReach hook as pure Vue, with Nuxt-friendly SFC syntax in the snippet.

Free vs Pro?+

Deliver by email with spam filtering and to WhatsApp via the official Meta WhatsApp Business API. Usage is metered in monthly credits.

Does this work with static generation?+

Yes - the form posts to FormsReach from the browser, so you do not need a long-running Nuxt server for submission delivery.

More framework guides that use the same FormsReach form API.

Ready to receive form leads?

Create a free API key. Upgrade when you need more monthly credits.