Skip to content

Getting started

Install the package with a package manager like npm or bun:

bash
npm i vue-formify

Create your first form

vue
<script lang="ts" setup>
import { FormifyForm, FormifyInput } from 'vue-formify';

const sendForm = (data) => {
	console.log(data);
};

</script>
<template>
	<FormifyForm @submit="sendForm">
		<FormifyInput name="first_name" />
		<FormifyInput name="last_name" />
		<button>Send</button>
	</FormifyForm>
</template>