nuxt-forms
Nuxt Forms
Easy and minimal client-side form handling for Nuxt 3
Features
- Minimal and small with no direct dependencies and fully tree shakeable
- Easy integrate popular solutions for data validation (Valibot, Zod and build in rules)
- Two-way data binding with support for nested values
- Integrated error message handling and interpolation
- Comes with composables and headless components to easily create forms
- Use it to build your own custom form component library
Quick Setup
- Add
nuxt-formsdependency to your project
# Using pnpm
pnpm add --save-dev nuxt-forms
# Using yarn
yarn add --dev nuxt-forms
# Using npm
npm install --save-dev nuxt-forms
- Add
nuxt-formsto themodulessection ofnuxt.config.{ts,js}
{
modules: [
'nuxt-forms'
]
}
That's it! You can now use Nuxt Forms in your Nuxt app ✨
Credits
- Inspired by VeeValidate (@logaretm)
- Rules depend on VeeValidate rules (@logaretm)
- Validator adapters inspired by modular-forms (@fabian-hiller)
License
MIT License
Copyright (c) Disedia
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.2.3 | ^3.0 | MIT | |
| 0.2.0 | ^3.0 | MIT | |
| 0.1.1 | ^3.0 | MIT | |
| 0.1.0 | ^3.0 | MIT | |
| 0.0.28 | ^3.0 | MIT | |
| 0.0.27 | ^3.0 | MIT | |
| 0.0.26 | ^3.0 | MIT | |
| 0.0.25 | ^3.0 | MIT | |
| 0.0.24 | ^3.0 | MIT | |
| 0.0.23 | ^3.0 | MIT | |
| 0.0.22 | ^3.0 | MIT | |
| 0.0.21 | ^3.0 | MIT | |
| 0.0.20 | ^3.0 | MIT | |
| 0.0.19 | ^3.0 | MIT | |
| 0.0.18 | ^3.0 | MIT | |
| 0.0.17 | ^3.0 | MIT | |
| 0.0.16 | ^3.0 | MIT | |
| 0.0.15 | ^3.0 | MIT | |
| 0.0.14 | ^3.0 | MIT | |
| 0.0.13 | ^3.0 | MIT | |
| 0.0.12 | ^3.0 | MIT | |
| 0.0.11 | ^3.0 | MIT | |
| 0.0.10 | ^3.0 | MIT | |
| 0.0.9 | ^3.0 | MIT | |
| 0.0.8 | ^3.0 | MIT | |
| 0.0.7 | ^3.0 | MIT | |
| 0.0.6 | ^3.0 | MIT | |
| 0.0.5 | ^3.0 | MIT | |
| 0.0.4 | ^3.0 | MIT | |
| 0.0.3 | ^3.0 | MIT |
Showing the latest 30 of 32. See every release on npm