/ngFirstDemo

Angular app training

Primary LanguageHTML

ngFirstDemo

Angular app training

Command Purpose
npm install -g @angular/cli Installs Angular CLI globally
ng new Creates a new Angular application
ng serve --open Builds and runs the application on lite-server and launches a browser
ng generate Creates class, component, directive, interface, module, pipe, and service
ng build Builds the application
ng update @angular/cli @angular/core Updates Angular to a newer version