title | description |
---|---|
@nrwl/angular:mfe-remote generator |
Generate a Remote Angular Micro-Frontend Application. |
Generate a Remote Angular Micro-Frontend Application.
nx generate mfe-remote ...
nx g remote ... # same
By default, Nx will search for mfe-remote
in the default collection provisioned in workspace.json
.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:mfe-remote ...
Show what will be generated without writing to disk:
nx g mfe-remote ... --dry-run
Create an Angular app with configuration in place for MFE. If host is provided, attach this remote app to host app's configuration.:
nx g @nrwl/angular:mfe-remote appName --host=host --port=4201
Type: string
The name to give to the remote Angular app.
Type: string
The name of the host app to attach this remote app to.
Type: number
The port on which this app should be served.