configure vee-validate to german localisation
This commit is contained in:
parent
3cee45b4a5
commit
d6879bb7b9
|
|
@ -1,6 +1,7 @@
|
|||
import $ from 'jquery';
|
||||
import Vue from 'vue';
|
||||
import VeeValidate from 'vee-validate';
|
||||
import VeeValidate, { Validator } from 'vee-validate';
|
||||
import de from 'vee-validate/dist/locale/de';
|
||||
import axios from 'axios';
|
||||
import VueSlider from 'vue-slider-component';
|
||||
import accounting from 'accounting';
|
||||
|
|
@ -15,6 +16,8 @@ window.axios = axios;
|
|||
require("./bootstrap");
|
||||
require("ez-plus/src/jquery.ez-plus.js");
|
||||
|
||||
Validator.localize('de', de);
|
||||
|
||||
Vue.use(VeeValidate, {
|
||||
dictionary: {
|
||||
ar: { messages: localeMessages.ar }
|
||||
|
|
|
|||
Loading…
Reference in New Issue