I\'m starting to use angular-cli and I\'ve already read a lot to find an answer about what I want to do...no success, so I came here.
Is there a way to create a componen
Read the description of --route https://angular.io/cli/generate#module-command,
--route
To archive such, you must add the route of that component-module to somewhere and specify the route name.
ng generate module component-name --module=any-parent-module --route=route-path