Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

patterns等一些有问题,是不是wenpack4、5不兼容 #22

Open
whuxxie opened this issue May 7, 2022 · 3 comments
Open

patterns等一些有问题,是不是wenpack4、5不兼容 #22

whuxxie opened this issue May 7, 2022 · 3 comments

Comments

@whuxxie
Copy link

whuxxie commented May 7, 2022

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? }
@Bing-Xiong
Copy link

我也是这个问题。。。

@yuxuesong1995
Copy link

将vue cli换成老版本即可。
我之前用5遇到了同样的问题,换成用3.12.1,再add这个插件就可以了

@yuxuesong1995
Copy link

接上条,vue3.0 可用vue cli 4.5.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants