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

483 B

Examples

{% tabs %}

{% tab label="Basic Usage" %} Create a secondary entrypoint named button in the ui library.

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.

nx g @nx/angular:library-secondary-entry-point --library=ui --name=button --skipModule

{% /tab %}

{% /tabs %}