@nx/web:init
Init Web Plugin.
Please do not extend this schema as it is part of Nx internal usage.
Init Web Plugin.
nx generate init ...
By default, Nx will search for init
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nx/web:init ...
Show what will be generated without writing to disk:
nx g init ... --dry-run
webpack
webpack
, none
, vite
The bundler to use.
cypress
cypress
, none
Adds the specified e2e test runner
false
Skip formatting files
false
Do not generate a root babel.config.json (if babel is not needed).
jest
jest
, none
Adds the specified unit test runner
false
Do not add dependencies to package.json
.