Helpful Angular Cli commands

LAZY LOADING
ng g m MODULE-NAME --route MODULE-NAME --module app.module

FLAT FLAG
ng g c COMPONENT-NAME --flat   "creates component with no folder "

COMPONENT
ng g c MODULE-NAME/COMPONENT-NAME   "creates a component in another module"

Comments

Popular posts from this blog

AC Light switch using relay

Mosfet and capacitor switch

Blinking LED