[Vuejs]-How to use locale message json files of VeeValidate 3 without Node.js, withouf Http Server?

0👍

You can use fetch to download the JSON files and merge them in the locale:

await fetch('/vee-validate/dist/locale/ja.json').then(res => res.json()).then(data => {
  VeeValidate.localize('ja', data);
});

Leave a comment