@nx/react:init
Initialize a React Plugin.
Please do not extend this schema as it is part of Nx internal usage.
Initialize a React Plugin.
1nx generate init ...
21nx g ng-add ... #same
2By 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/react:init ...
2Show what will be generated without writing to disk:
1nx g init ... --dry-run
2cypresscypress, playwright, noneAdds the specified E2E test runner.
falseUse JavaScript instead of TypeScript
falseSkip formatting files.
falseDo not add dependencies to package.json.
falseDo not install tslib.
jestjest, noneAdds the specified unit test runner.