@nrwl/angular:remote
Create an Angular Remote Module Federation Application.
Usage
nx generate remote ...By default, Nx will search for remote in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:remote ...Show what will be generated without writing to disk:
nx g remote ... --dry-runExamples
Create an Angular app with configuration in place for Module Federation. If host is provided, attach this remote app to host app's configuration.:
nx g @nrwl/angular:remote appName --host=host --port=4201Options
addTailwind
falseWhether to configure Tailwind CSS for the application.
backendProject
Backend project that provides data to this application. This sets up proxy.config.json.
directory
The directory of the new application.
e2eTestRunner
cypressprotractor, cypress, noneTest runner to use for end to end (E2E) tests.
host
The name of the host app to attach this remote app to.
inlineStyle
falseSpecifies if the style will be in the ts file.
inlineTemplate
falseSpecifies if the template will be in the ts file.
linter
eslinteslint, noneThe tool to use for running lint checks.
name
The name to give to the remote Angular app.
port
The port on which this app should be served.
prefix
html-selectorThe prefix to apply to generated selectors.
style
csscss, scss, sass, lessThe file extension to be used for style files.
skipTests
falseSkip creating spec files.
skipPackageJson
falseDo not add dependencies to package.json.
strict
trueCreate an application with stricter type checking and build optimization options.
standaloneConfig
Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json.
setParserOptionsProject
falseWhether or not to configure the ESLint parserOptions.project option. We do not do this by default for lint performance reasons.
skipFormat
falseSkip formatting files.
tags
Add tags to the application (used for linting).
unitTestRunner
jestkarma, jest, noneTest runner to use for unit tests.
viewEncapsulation
Emulated, None, ShadowDomSpecifies the view encapsulation strategy.