Sunday, 3 November 2019

How to generate a new module using angular CLI?


Like component and services, we can create module in the same way. Below are the commands


ng g m students -d -m=app.module
ng g m students -d -m=app.module --spec=true
ng g m students -d -m=app.module --spec=true --flat=true
ng g m students -m=app.module --spec=true --flat=true

No comments:

Post a Comment