yi

     沉睡的字符正在苏醒,0和1正在展示自然的魄力!

导航

npm常用的命令

::npm install debug
npm install npm@latest -g

::更改为taobao的服务器
npm config set registry https://registry.npm.taobao.org
::查看服务器地址
npm config get registry
::查看所有安装的全局包
npm list -g --depth 0
::安装vue
npm install -g vue@2.5.2
::删除注册
npm config delete registry

::安装vue-cli
npm i -g vue-cli

::vue包初始化
vue init webpack
::安装element-ui
npm install -g element-ui@2.0.7
::
npm i && npm i element-ui

::删除包
npm uninstall vue
npm uninstall -g element-ui

posted on 2017-12-01 10:34  yi  阅读(80)  评论(0)    收藏  举报