angularjs

angularjs1.*

https://github.com/angular/angular.js

https://angularjs.org/

Angular

angular.js 的升级版

https://github.com/angular/angular

https://angular.io

https://angular.cn

install angular-cli:

$ npm install -g @angular/cli

verify:

$ ng v

新建项目:

$ ng new <my-app>

测试项目:

$ cd <my-app>
// --open会自动打开浏览器
$ ng serve --open

打包

$ ng build --prod