Usage
nx generate application ...
By default, Nx will search for application
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/rspack:application ...
Show what will be generated without writing to disk:
nx g application ... --dry-run
Examples
Generate apps/myorg/myapp
and apps/myorg/myapp-e2e
:
nx g app myapp --directory=myorg
Options
name
Required
string
Pattern:
^[a-zA-Z].*$
The name of the application.
directory
string
The directory to nest the app under.
e2eTestRunner
string
Default:
cypress
Accepted values:
none
, cypress
The e2e test runner to use.
monorepo
boolean
Creates an integrated monorepo.
style
s
string
Default:
css
The file extension to be used for style files.
tags
Array<string>
Default:
[]
The tags to assign to the project.
unitTestRunner
string
Default:
jest
Accepted values:
none
, jest
The unit test runner to use.
rootProject
boolean
No description available.