Links
Official Page
https://cli.angular.io/
https://cli.angular.io/
Github page
https://github.com/angular/angular-cli
https://github.com/angular/angular-cli
Node Package Repository
https://www.npmjs.com/package/@angular/cli
https://www.npmjs.com/package/@angular/cli
Usage
Installation
Install LTS version of Node: https://nodejs.org or install with Chocolatey: choco install nodejs-lts
npm install -g @angular/cli
npm install -g @angular/cli
New Project
ng new <project-name>
ng new <project-name>
Generate a component
ng generate component <component-name>
ng generate component <component-name>
Generate a service
ng generate service <service-name>
ng generate service <service-name>
Run the server on http://localhost:4200
ng serve --open
ng serve --open
Videos
Angular CLI Complete Course Guide
Tutorials
Angular CLI Tutorial
Angular CLI tutorial
Getting Started With Angular Using the Angular CLI
No comments:
Post a Comment