Skip to content

Introduction

VueNiceValidate is a validation library for Vue.js. It uses Directive+Data based approch to validate your form or fields. With great DX and steep learning curve this package aims to improve code quality and productivity of developers. All validation rules are defined inside template without any extra component, you can check or run validation in one line. It doesn't add much boiler plate to your vue code unlike other validation frameworks, Hence you will love it.

If you stuck in any issue you can directly contact on our discord group.

If you wish to collaborate, Here's my blog of how I started this in first place: How to create custom validator in Vue3?

Features

  1. Data based validation
  2. Directive based approach for defining rules
  3. Message formatter for easy internationalization and custom messages
  4. Add custom validation rules
  5. Show, add or remove errors from reactive object