Generate the Angular Module using CLI

 

Generating the module & routing with in the folder

ng g m dashboard/dashboard --routing

Generate the module and routing with out the folder.

ng g m dashboard/dashboard --routing --flat

Comments

Popular posts from this blog

Interview Redux

There is no directive with "exportAs" set to "ngForm" in Angular 2.0 or 4.0

Angular 2.0/4.0 Configuration in Visual Studio