
@formerie/vue
Formerie for Vue
Send form submissions from Vue to Formerie, without holding recipients, templates, or provider keys in your code.
Install
These packages are in alpha, so their APIs may change.
pnpm
pnpm add @formerie/vuenpm
npm install @formerie/vueYarn
yarn add @formerie/vueBun
bun add @formerie/vueUse 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
Formerie validates the fields on the server, checks for spam, stores the submission, and delivers it the way you configured in the app. Your code only handles the fields and the response.
Read the framework guideThe packages are in alpha, so their APIs may change. Logos and names belong to their owners. Their use only says Formerie works with these technologies, and doesn’t imply partnership or endorsement.
Create a workspace and publish your first form.
In early access. New workspaces start on the Free plan.