@nrwl/angular:library
Creates an Angular library.
Examples
Creates the my-ui-lib
library with an ui
tag:
nx g @nrwl/angular:library my-ui-lib --tags=ui
Usage
nx generate library ...
nx g lib ... #same
By default, Nx will search for library
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:library ...
Show what will be generated without writing to disk:
nx g library ... --dry-run