get-start
angular/cli
ng
### 全局安装 angular
yarn global add @angular/cli
### 安装特定版本
yarn init
yarn add @angular/[email protected]
###
ng help
ng new --help
### with ivy
ng new ng-ivy --enable-ivy=true --inline-style=true --minimal=true --routing=true --skip-install=true --skip-tests=true
### without ivy
ng new ng-demo --inline-style=true --minimal=true --routing=true --skip-install=true --skip-tests=true
module
ng g m core
ng g m shared
ng g m routes --routing
### 使用 RoutesModule 替换默认生成的 AppRoutingModule
### 创建业务模块
ng g m routes/user-info --routing
component
ng g c routes/user-info/user-name
service
ng g s routes/user-info/user-info
pipe
angular.json
tslint
yarn add codelyzer -D