@nx/web:init
Init Web Plugin.
The State of JS survey is live, featuring a monorepo tools sectionThe State of JS survey is live, featuring a monorepo tools sectionVote for us
Please do not extend this schema as it is part of Nx internal usage.
Init Web Plugin.
1nx generate init ...
2
By default, Nx will search for init
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/web:init ...
2
Show what will be generated without writing to disk:
1nx g init ... --dry-run
2
webpack
webpack
, none
, vite
The bundler to use.
cypress
cypress
, playwright
, none
Adds the specified e2e test runner
false
Skip formatting files
jest
jest
, none
Adds the specified unit test runner
false
Do not add dependencies to package.json
.