@nrwl/angular:component
Creates a new, generic Angular component definition in the given or default project.
Examples
Create a component named my-component
:
nx g @nrwl/angular:component my-component
Usage
nx generate component ...
nx g c ... #same
By default, Nx will search for component
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:component ...
Show what will be generated without writing to disk:
nx g component ... --dry-run