angular环境安装过程

1,先去node.js官网,下载node.js并安装,这样电脑上就有了npm

2,进入DOS窗口,安装cnpm  (全局安装)

  npm install -g cnpm --registry="https://registry.npm.taobao.org"

3,安装angular/cli(全局安装)

  cnpm i -g @angular/cli

4,建项目,建的过程中卡住不要等,执行5

  ng new myproject

5,进入项目目录

  cnpm install

6,开启项目

  ng-server

这些是平记忆写的,详情可以查看视频

地址:http://www.iqiyi.com/playlist444390202.html

posted on 2017-10-26 18:08  小影子棒棒哒  阅读(633)  评论(0)    收藏  举报

导航