You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have some command line parameters for ng g my-component. E.g. to specify if a separate .html-file should should be created or maybe inline-HTML is enough.
Here some suggestions:
ng g component my-component arg
arg
description
--template
use template: 'my-component works' instead of templateUrl: 'path/to/file.html'
--styles
use styles: [] instead of styleUrls: ['path/to/file.css']
--no-style
no styles: [] or styleUrls: ['path/to/file.css'] in the component