Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import Vue from "vue"
import { Validator, install as VeeValidate } from "vee-validate/dist/vee-validate.minimal.esm.js"
import { required } from "vee-validate/dist/rules.esm.js"
import veeEn from "vee-validate/dist/locale/en"
// // Add the rules you need.
Validator.extend("required", required)
// // Merge the messages.
Validator.localize("en", veeEn)
// install the plugin
Vue.use(VeeValidate)