vuejs install [email protected] requires a peer of ajv@^6.9.1 code example
Example 1: vuejs install [email protected] requires a peer of ajv@^6.9.1
var Ajv = require('ajv');var ajv = new Ajv;require('ajv-keywords')(ajv); ajv.validate({ instanceof: 'RegExp' }, /.*/); // trueajv.validate({ instanceof: 'RegExp' }, '.*'); // false
Example 2: vuejs install [email protected] requires a peer of ajv@^6.9.1
npm install ajv-keywords