ng generate component [name]

Generate a new component

Arguments

NameDescription
nameComponent name

Options

NameDescription
--project <arg>Project name
--change-detection, -c <strategy>The change detection strategy to use
--display-block, -b <boolean>Add :host block to styles
--flat <boolean>Create at the top level