Vue Validate
Input validation for Vue 1.0

Install
You can install the package via yarn:$ yarn add v-validate
If you use webpack:
Vue.use(require('v-validate'));
If you don't, just include 'v-validate.js' somewhere in your page.Usage
Use thev-validate
directive on your input.
Example:<input type="text" v-model="name" v-validate="{required: true, minLength: 5}">
Classes valid
or invalid
will be appended to the input.