You should unify your imports, the vee-validate
and vee-validate/dist/vee-validate.full.esm
are two different dist files and thus each maintains their own rules and ecosystem.
You need to decide which version of vee-validate you want to use and only import everything from that dist
That includes extend
, and the components and basically any vee-validate API you will import.
import { ValidationProvider, ValidationObserver, extend } from 'vee-validate/dist/vee-validate.full.esm';
You can configure a webpack alias to make this easier for you.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…