vee-validate 4.5.10 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -22
- package/dist/vee-validate.d.ts +548 -292
- package/dist/vee-validate.esm.js +236 -96
- package/dist/vee-validate.js +232 -94
- package/dist/vee-validate.min.js +2 -2
- package/package.json +3 -3
- package/CHANGELOG.md +0 -896
package/README.md
CHANGED
|
@@ -1,24 +1,46 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<a href="https://vee-validate.logaretm.com" target="_blank">
|
|
3
|
-
<img
|
|
3
|
+
<img src="https://raw.githubusercontent.com/logaretm/vee-validate/main/logo.png" width="200" title="Go to website">
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
|
|
9
|
-
[](https://npm-stat.com/charts.html?package=vee-validate)
|
|
13
|
-
[](https://www.npmjs.com/package/vee-validate)
|
|
14
|
-
[](https://bundlephobia.com/result?p=vee-validate)
|
|
15
|
-
[](http://isitmaintained.com/project/logaretm/vee-validate 'Average time to resolve an issue')
|
|
16
|
-
[](https://isitmaintained.com/project/logaretm/vee-validate 'Percentage of issues still open')
|
|
9
|
+
[](https://npm-stat.com/charts.html?package=vee-validate 'Go to NPM stats')
|
|
10
|
+
[](https://cdnjs.com/libraries/vee-validate/ 'Download using CDNJS')
|
|
11
|
+
[](https://www.npmjs.com/package/vee-validate 'Go to package on NPM')
|
|
17
12
|
|
|
18
13
|
</p>
|
|
14
|
+
|
|
15
|
+
<br>
|
|
16
|
+
|
|
17
|
+
vee-validate is a form validation library for [Vue.js](https://vuejs.org/) that allows you to validate inputs and build better form UIs in a familiar declarative style or using composition functions.
|
|
18
|
+
|
|
19
|
+
## Sponsors
|
|
20
|
+
|
|
21
|
+
Thanks for the following companies and individuals who are supporting vee-validate
|
|
22
|
+
|
|
23
|
+
<br>
|
|
24
|
+
|
|
25
|
+
<p align="center">
|
|
26
|
+
<a href="https://getform.io" target="_blank">
|
|
27
|
+
<img src="https://raw.githubusercontent.com/logaretm/vee-validate/main/docs/assets/img/sponsors/getform.svg" width="230" title="Go to getform.io">
|
|
28
|
+
</a>
|
|
29
|
+
</p>
|
|
30
|
+
|
|
19
31
|
<br>
|
|
20
32
|
|
|
21
|
-
|
|
33
|
+
You can also help this this project and my other projects by donating one time or by sponsoring via the following link
|
|
34
|
+
|
|
35
|
+
<br>
|
|
36
|
+
|
|
37
|
+
<p align="center">
|
|
38
|
+
<a href="https://www.buymeacoffee.com/logaretm" target="_blank">
|
|
39
|
+
<img src="https://cdn.buymeacoffee.com/buttons/v2/default-red.png" alt="Buy Me A Coffee" width="180" title="Go to Buy Me A Coffee site">
|
|
40
|
+
</a>
|
|
41
|
+
</p>
|
|
42
|
+
|
|
43
|
+
<br>
|
|
22
44
|
|
|
23
45
|
## Features
|
|
24
46
|
|
|
@@ -36,10 +58,10 @@ vee-validate is a form validation library for [Vue.js](https://vuejs.org/) that
|
|
|
36
58
|
### Installation
|
|
37
59
|
|
|
38
60
|
```sh
|
|
39
|
-
#
|
|
61
|
+
# Install with yarn
|
|
40
62
|
yarn add vee-validate
|
|
41
63
|
|
|
42
|
-
#
|
|
64
|
+
# Install with npm
|
|
43
65
|
npm install vee-validate --save
|
|
44
66
|
```
|
|
45
67
|
|
|
@@ -54,7 +76,7 @@ The main v4 version supports Vue 3.x only, for previous versions of Vue, check t
|
|
|
54
76
|
|
|
55
77
|
### Usage
|
|
56
78
|
|
|
57
|
-
vee-validate offers two styles to integrate form validation into your Vue.js apps
|
|
79
|
+
vee-validate offers two styles to integrate form validation into your Vue.js apps.
|
|
58
80
|
|
|
59
81
|
#### Declarative Components
|
|
60
82
|
|
|
@@ -109,7 +131,7 @@ export default {
|
|
|
109
131
|
};
|
|
110
132
|
```
|
|
111
133
|
|
|
112
|
-
Then in your template use `v-model` to bind the `value` to your input and display the errors using `errorMessage`:
|
|
134
|
+
Then in your template, use `v-model` to bind the `value` to your input and display the errors using `errorMessage`:
|
|
113
135
|
|
|
114
136
|
```vue
|
|
115
137
|
<input name="field" v-model="value" />
|
|
@@ -120,15 +142,9 @@ Then in your template use `v-model` to bind the `value` to your input and displa
|
|
|
120
142
|
|
|
121
143
|
Read the [documentation and demos](https://vee-validate.logaretm.com/v4).
|
|
122
144
|
|
|
123
|
-
## Sponsorship
|
|
124
|
-
|
|
125
|
-
You can help this this project by donating one time or by sponsoring via the following link
|
|
126
|
-
|
|
127
|
-
<a href="https://www.buymeacoffee.com/logaretm" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-red.png" alt="Buy Me A Coffee" height="60" width="217" ></a>
|
|
128
|
-
|
|
129
145
|
## Contributing
|
|
130
146
|
|
|
131
|
-
You are welcome to contribute to this project, but before you do, please make sure you read the [contribution guide](CONTRIBUTING.md)
|
|
147
|
+
You are welcome to contribute to this project, but before you do, please make sure you read the [contribution guide](/CONTRIBUTING.md).
|
|
132
148
|
|
|
133
149
|
## Credits
|
|
134
150
|
|
|
@@ -144,4 +160,4 @@ Here we honor past contributors and sponsors who have been a major part on this
|
|
|
144
160
|
|
|
145
161
|
## ⚖️ License
|
|
146
162
|
|
|
147
|
-
MIT
|
|
163
|
+
Released under [MIT](/LICENSE) by [@logaretm](https://github.com/logaretm).
|