Skip to content

@formerie/vue

Formerie for Vue

Send form submissions from Vue to Formerie, without holding recipients, templates, or provider keys in your code.

Works with

Install

These packages are in alpha, so their APIs may change.

pnpm

pnpm add @formerie/vue

npm

npm install @formerie/vue

Yarn

yarn add @formerie/vue

Bun

bun add @formerie/vue

Use it

useFormerieSubmit returns submit, status, and result as a composable.

You’ll need a published form. Replace example.com and contact with your workspace and form handles from the app.

import { useFormerieSubmit } from "@formerie/vue";

const { submit, status, result } = useFormerieSubmit({
  workspace: "example.com",
  form: "contact",
});

await submit({
  fields: {
    email: "jane@example.com",
  },
});

What happens next

Create a workspace and publish your first form.

In early access. New workspaces start on the Free plan.