formward
v1.1.2
Published
Vue 3 form validation — form guard with directive, schemas (Zod, Yup). Fork of vee-validate 2.x.
Maintainers
Readme
Formward
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.
Install
npm install formwardOptional for schema support: npm install zod and/or yup.
Quick start
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
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 |
License
MIT. See docs/license.md.
