important commands for angular CLI


1) Create Module :- ng g module ModuleName
2) Create Module with Routing :- ng g module ModuleName --routing
3) Create Component :- ng g c ComponentName
4) Create Lazy Loading Module with Routing and Component :- ng generate module ModuleName --route RouteLinkName --module app.module
--> RouteLinkName is just a name it can be anything whatever you wish.


  

Comments

Popular posts from this blog

how to save images with angular nodejs

How to restrict your logged In page in angular (authentication guard)

How to notify about data update to other component.