Vue 3 form validation — template-based rules, directive, and schema support (Zod, Yup).
Drop-in compatible API with vee-validate 2.x so existing projects keep working without code changes.
npm install formwardOptional for schema support: npm install zod and/or yup.
import { createApp } from 'vue'
import Formward from 'formward'
import App from './App.vue'
const app = createApp(App)
app.use(Formward, { locale: 'en', inject: true })
app.mount('#app')<input v-model="email" v-validate="'required|email'" name="email" />
<span v-if="errors.has('email')">{{ errors.first('email') }}</span>Documentation is split into separate files in docs/:
| Link | Content |
|---|---|
| About | About the project and the fork |
| Features | Features |
| Installation | Installation |
| Quick start | Quick start (classic API) |
| Schema support | Schema support (Zod / Yup, SchemaProvider, installSchema) |
| API overview | API overview |
| Compatibility | Compatibility with vee-validate 2 |
| Migration | Migration from vee-validate |
| License | License |
MIT. See docs/license.md.