Usage
1nx generate application ...
2By default, Nx will search for application in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/rspack:application ...
2Show what will be generated without writing to disk:
1nx g application ... --dry-run
2Examples
Generate apps/myorg/myapp and apps/myorg/myapp-e2e:
1nx g app myapp --directory=myorg
2Options
name
^[a-zA-Z].*$The name of the application.
framework
reactnone, react, web, nestThe framework to use for the application.
directory
The directory to nest the app under.
e2eTestRunner
cypressnone, cypressThe e2e test runner to use.
monorepo
Creates an integrated monorepo.
style
cssThe file extension to be used for style files.
tags
Add tags to the application (used for linting).
unitTestRunner
jestnone, jestThe unit test runner to use.
rootProject
No description available.