Validate input fields with Vee Validate
vee-validate VueJS input validation plugin
A plugin with 21 validation rules with error messages, which supports:
- Vue 1.x and 2.0
- Adding your own validation rules or messages
- A simple API to translate messages and inputs
Inspired from PHP Framework Laravel's validation.
It has simple use as to define validators you can specify them directly in the HTML. Apply the
v-validate directive on your inputs and a
rules attribute which is a list of validations separated by a pipe, like so:
You will then get informed of the errors for each field.
Check Github for full documentation and examples.
Vue.js input validation plugin https://logaretm.github.io/vee-validate/