hero

VeeValidate

Template Based Validation Framework for Vue.js

Get Started →

Simple

Template based validation that is both familiar and easy to setup.

Flexible

Validate HTML inputs and Vue components, generate localized errors, Extendable, We have it all.

Configurable

Config that doesn't get into your way, everything is optional.

Quick Setup

install

# install with npm
npm install vee-validate

# install with yarn
yarn add vee-validate

Use

In your html

<input v-validate="'required'" name="myinput" type="text">
<span>{{ errors.first('myinput') }}</span>

And in your JavaScript:

Vue.use(VeeValidate);