Schema for internal use only

Please do not extend this schema as it is part of Nx internal usage.

@nrwl/vite:init

Add Vite Configuration to the workspace.

Usage

nx generate init ...
nx g ng-add ... #same

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 @nrwl/vite:init ...

Show what will be generated without writing to disk:

nx g init ... --dry-run

Options

uiFramework

string
Default: react
Accepted values: react, vue3, vue3-jsx

UI Framework to use for Vite.