This module is not yet compatible with Nuxt 3

Head over to v2.nuxt.com

regle

regle

Type safe model-based form validation library for Vue.js

regle cover

Regle

Regle \ʁɛɡl\ (French word for 'rule' ) is a Typescript-first model-based validation library for Vue 3. It's heavily inspired by Vuelidate.

📚 Documentation

Documentation

Quick Setup

Install the module to your Nuxt application with one command:

npx nuxi module add regle

🎮 Play with it

Simple demoAdvanced Demo
Open in StackBlitzOpen in StackBlitz

🧰 Features

  • ✅ 100% type inference
  • 📖 Model based validation
  • 🛒 Collection validation
  • đŸĒ— Extensible
  • đŸĻ¸â€â™‚ī¸ Zod support
  • 🤖 Valibot support
  • đŸĒļ Light(~7kb gzip) and 0 dependencies