Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install angular

Installing Command Angular
npm install -g @angular/cli 
ng version
ng new ProjectName
cd ProjectName
ng serve

//First go in the folder where you want to add new component in angular then use given command
ng g c componentName 
//or
ng generate component componentName

//If you are in root folder and want to make a sub component then 
// componentName is complete path of that folder with componentName
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #install #angular
ADD COMMENT
Topic
Name
8+6 =