angular generate component

JavaScript
ng g c componentNameng g component componentname
ng generate component [name]ng generate component [component-name]
ng generate <schematic> [options]
Source

Also in JavaScript: