@nrwl/workspace:preset
Creates applications in a new workspace.
Please do not extend this schema as it is part of Nx internal usage.
Creates applications in a new workspace.
nx generate preset ...
By default, Nx will search for preset in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/workspace:preset ...
Show what will be generated without writing to disk:
nx g preset ... --dry-run
vitewebpack, viteThe bundler to use for building the application.
falseGenerate a Dockerfile
express, koa, fastify, nest, noneThe framework which the application is using
eslinteslintThe tool to use for running lint checks.
The name of the application.
Npm scope for importing libs.
The name of the preset.
npm, yarn, pnpmThe package manager used to install dependencies.
trueAdd routing to the generated application.
cssThe file extension to be used for style files.
falseUse Standalone Components if generating an Angular application.
trueSplit the project configurations into <projectRoot>/project.json rather than including it inside workspace.json.
Nx only supports standaloneConfig