사용자 도구

사이트 도구


angular:angular-cli

문서의 이전 판입니다!


Angular CLI

Angular 1)(Command-Line Interface or Command-Line user Interface)

update

ng update <package>

  • 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": {..
  }
}
1)
CLI
angular/angular-cli.1565880144.txt.gz · 마지막으로 수정됨: 2025/04/15 10:05 (바깥 편집)