A Vue.js project
vee-validate 前端校验工具 可以使用内置校验+自定义校验 一起使用
有两种使用形式
v-validate="'required|min:2|email'"
v-validate="{required:true,regex: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/}"
For a detailed explanation on how things work, check out the guide and docs for vue-loader.