nx/packages/angular/docs/upgrade-module-examples.md
2022-10-10 15:35:51 +00:00

504 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 @nrwl/angular:upgrade-module --name=myAngularJsModule --project=myapp

{% /tab %}

{% tab label="Setup Router" %}

Allow a setup that configures routing for UpgradeModule.

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

{% /tab %}

{% /tabs %}