@nrwl/angular:downgrade-module
Sets up a Downgrade Module for using AngularJS and Angular.
Sets up a Downgrade Module for using AngularJS and Angular.
Below are some examples of how to generate configuration and setup for using ngUpgrade
's DowngradeModule
for your application.
nx g @nrwl/angular:downgrade-module --name=myAngularJsModule --project=myapp
nx generate downgrade-module ...
By default, Nx will search for downgrade-module
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:downgrade-module ...
Show what will be generated without writing to disk:
nx g downgrade-module ... --dry-run
The name of the main AngularJS module.
The name of the project.
Import expression of the AngularJS application (e.g., --angularJsImport=some_node_module/my_app
).
false
Skip formatting files.
false
Do not add @angular/upgrade
to package.json
(e.g., --skipPackageJson
).