nx/packages/angular/docs/upgrade-module-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

500 B

Examples

Below are some examples of how to generate configuration and setup for using ngUpgrade's UpgradeModule for your application.

{% tabs %}

{% tab label="Basic Usage" %}

nx g @nx/angular:upgrade-module --name=myAngularJsModule --project=myapp

{% /tab %}

{% tab label="Setup Router" %}

Allow a setup that configures routing for UpgradeModule.

nx g @nx/angular:upgrade-module --name=myAngularJsModule --project=myapp --router=true

{% /tab %}

{% /tabs %}