Best Answer · By JanBask Python Expert
Arun Singh JanBask Expert
Answered on Jan 11, 2020
To create the module run this:
ng g module foo
To create the component inside the foo module folder and have it added to the foo.module.ts's declaration collection run this:
ng g component foo/fooList --module=foo.module.ts
And the cli will scaffold out the module and component like this:
