Starts a process that guides you through adding an extension to your project. After you select an extension type, the CLI prompts you for its configuration details and then generates the extension's files in your project.
The following flags are available for the wix app generate command:
| Flag | Description |
|---|---|
--type <type> | Generates an extension with the specified type. Can't be combined with --params. Accepted values for <type>:
|
--params <json> | Generates an extension non-interactively from a JSON object describing it, instead of the prompts. Can't be combined with --type. For the object's keys, see Extension JSON object. |
The <json> argument of --params is a JSON object that describes one extension. It has these keys:
extensionType: The extension type. It takes the values that --type accepts, and CONTEXT_PROVIDER, which can only be generated with --params.title and route.wix app schema generate --type <type> prints the keys of one extension type and which of them are required.
The command takes this form, with one "<key>":"<value>" pair for each of the extension type's keys:
For example, this command generates a dashboard page titled Settings with the route settings:
Last updated: 10 November 2026