While you can specify your rules in the
v-validate directive, vee-validate also deduces or infers additional rules based on the input type. For example if you have the following:
<input name="email" type="email" required >
It would be redundant to specify
v-validate="'required|email'". vee-validate will detect the input type and the required attribute and include those rules for you automatically, so you would only need to add
v-validate on the input.
<input name="email" type="email" required v-validate >
Inferred Rules Reference
This is a table of HTML attributes that is inferred as rules.
This feature does not work on custom components, only HTML5 inputs can take advantage from this feature.