목차

Angular CLI

Angular CLI1)기반으로 angular이용을 효율적으로 할 수 있다.

Package의 추가 및 업데이트

ng update <package>

ng add

Support for multiple projects

angular.json instead of .angular-cli.json

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "routing-demo": {...
    },
    "services-and-http": {...
    }
   },
  "defaultProject": "routing-demo",
  "schematies": {..
  }
}

ng generate

심벌기반의 파일을 생성 또는 수정한다. ng generate <schemectic> [options]

ng g c about
ng g library @ng-maro-forms/modal

schemetic

아래의 것들중에 하나를 사용한다.

1)
CLI -Command-Line Interface or Command-Line user Interface은 TUI(Text User Interface)나 GUI(Graphic User Interface)와는 다른 개념으로 pipe와 shell script로 다양하게 사용될 수 있다.