nx/packages/angular/docs/library-secondary-entry-point-examples.md
Isaac Mann afa5eb59fa
docs(core): document the @nrwl => @nx rescope (#16403)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-04-27 18:14:59 -04:00

24 lines
483 B
Markdown

## Examples
{% tabs %}
{% tab label="Basic Usage" %}
Create a secondary entrypoint named `button` in the `ui` library.
```bash
nx g @nx/angular:library-secondary-entry-point --library=ui --name=button
```
{% /tab %}
{% tab label="Skip generating module" %}
Create a secondary entrypoint named `button` in the `ui` library but skip creating an NgModule.
```bash
nx g @nx/angular:library-secondary-entry-point --library=ui --name=button --skipModule
```
{% /tab %}
{% /tabs %}