====== Angular CLI ====== Angular CLI((CLI -**C**ommand-**L**ine **I**nterface or Command-Line user Interface은 TUI(Text User Interface)나 GUI(Graphic User Interface)와는 다른 개념으로 pipe와 shell script로 다양하게 사용될 수 있다.))기반으로 angular이용을 효율적으로 할 수 있다. ===== Package의 추가 및 업데이트 ===== **ng update ** * analyses your package.json * recommend updates to your application * 3rd parties can provide update scripts using schematis * automatically update your code **ng add** * add new capabilities to your application * ng add @angular/material * **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 //// [//options//]'' ng g c about ng g library @ng-maro-forms/modal ==== schemetic ==== 아래의 것들중에 하나를 사용한다. * appShell * application * class * component * directive * enum * guard * interface * library * module * pipe * service * serviceWorker * universal * webWorker