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

26 lines
508 B
Markdown

## 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" %}
```bash
nx g @nx/angular:downgrade-module --name=myAngularJsModule --project=myapp
```
{% /tab %}
{% tab label="Setup Router" %}
Allow a setup that configures routing for `DowngradeModule`.
```bash
nx g @nx/angular:downgrade-module --name=myAngularJsModule --project=myapp --router=true
```
{% /tab %}
{% /tabs %}