Vee Element plugin brings Vee Validate to Element UI forms

vee-validate
validation
element-ui

#1

I’ve just released Vee Element, a Vue plugin that replaces Element UI’s Async Validator with Vee Validate.

This makes for significantly easier form setups, using Vee Validate’s rules syntax:

{
  email: 'required|email',
  password: 'required|min:8|max:20'
}

Even better, you don’t need to use Vee Validate’s directives on individual form item components, you just replace your rules object with Vee Validate strings, and Element UI’s forms will validate as usual.

The package is available here:

There is an online demo here:

image

The package is currently in alpha, so certainly looking for folks to put it through its paces and alert me to any shortcomings before a full release.

Thanks!

Dave