508 B
508 B
Examples
Below are some examples of how to generate configuration and setup for using ngUpgrade's DowngradeModule for your application.
{% tabs %}
{% tab label="Basic Usage" %}
nx g @nx/angular:downgrade-module --name=myAngularJsModule --project=myapp
{% /tab %}
{% tab label="Setup Router" %}
Allow a setup that configures routing for DowngradeModule.
nx g @nx/angular:downgrade-module --name=myAngularJsModule --project=myapp --router=true
{% /tab %}
{% /tabs %}