Skip to content

Commit

Permalink
Fix example register for all rules (#3279)
Browse files Browse the repository at this point in the history
Wrong const is used in doc.
  • Loading branch information
edersoares committed Apr 22, 2021
1 parent dc0e63d commit 6e071ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/guide/global-validators.md
Expand Up @@ -274,7 +274,7 @@ Or you can globally define all the available rules in the `@vee-validate/rules`
import { defineRule } from 'vee-validate';
import AllRules from '@vee-validate/rules';

Object.keys(rules).forEach(rule => {
Object.keys(AllRules).forEach(rule => {
defineRule(rule, AllRules[rule]);
});
```
Expand Down

0 comments on commit 6e071ee

Please sign in to comment.