We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 138d076 commit 1b62217Copy full SHA for 1b62217
README.md
@@ -1,2 +1,27 @@
1
-# vee-validate-laravel
+# Vee Validate for Laravel backend validation
2
Extension of vee-validate to support Laravel backend validation
3
+
4
+### Getting Started
5
6
+In your script entry point:
7
8
+```javascript
9
+import Vue from 'vue';
10
+import VeeValidate from 'vee-validate';
11
+import VeeValidateLaravel from 'vee-validate-laravel';
12
13
+Vue.use(VeeValidate);
14
+Vue.use(VeeValidateLaravel);
15
16
+```
17
18
+In Vue classes:
19
20
21
22
+axios.post('/example', data).then(res => {
23
+}).catch(err => {
24
+ this.$setLaravelValidationErrorsFromResponse(err.response.data);
25
+});
26
27
0 commit comments