patterns等一些有问题,是不是wenpack4、5不兼容
ValidationError: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema. - options[0] has an unknown property 'to'. These properties are valid: object { patterns, options? } - options[1] has an unknown property 'to'. These properties are valid: object { patterns, options? } - options[2] has an unknown property 'to'. These properties are valid: object { patterns, options? } - options[3] has an unknown property 'to'. These properties are valid: object { patterns, options? } ValidationError: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema.
- options[0] has an unknown property 'to'. These properties are valid: object { patterns, options? }
- options[1] has an unknown property 'to'. These properties are valid: object { patterns, options? }
- options[2] has an unknown property 'to'. These properties are valid: object { patterns, options? }
- options[3] has an unknown property 'to'. These properties are valid: object { patterns, options? }
我也是这个问题。。。
将vue cli换成老版本即可。 我之前用5遇到了同样的问题,换成用3.12.1,再add这个插件就可以了
接上条,vue3.0 可用vue cli 4.5.0