vue cli 安装element-ui
Posted xidianzxm
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vue cli 安装element-ui相关的知识,希望对你有一定的参考价值。
1、安装elment-ui
--save 参数:上线打包
MacBookPro:vue_test zhangxm$ npm install element-ui axios --save
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
> core-js@2.6.11 postinstall /Users/zhangxm/codes/vue/vue_test/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling javascript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
+ axios@0.19.0
+ element-ui@2.13.0
added 14 packages from 16 contributors in 15.917s
33 packages are looking for funding
以上是关于vue cli 安装element-ui的主要内容,如果未能解决你的问题,请参考以下文章
使用Node.js和vue.cli+element-ui搭建vue项目