vue2-安装elementUI时警告

警告内容:npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

原因:core-js的版本低了

解决:

 npm i core-js

vue2-安装elementUI时警告_第1张图片

你可能感兴趣的:(vue,elementui,前端,javascript)