wix generate

Deprecated

The Astro-based Wix CLI for Apps is deprecated. New projects should use the Wix CLI for Apps.

Starts a process that guides you through adding an extension to your project. After selecting an extension you are prompted for relevant configuration details, then your extension is generated in your project's local files, where each extension will have its own .extension.ts file.

Usage

Copy

Flags

The following flags are available for the wix generate command:

FlagDescription
--type <type>Generates an extension with the specified type. Can't be combined with --params. Accepted values for <type>:

  • DASHBOARD_PAGE
  • DASHBOARD_MODAL
  • DASHBOARD_PLUGIN
  • DASHBOARD_MENU_PLUGIN
  • DASHBOARD_EXTERNAL_PAGE
  • EMBEDDED_SCRIPT
  • CUSTOM_ELEMENT
  • EDITOR_REACT_COMPONENT
  • SITE_PLUGIN
  • EVENT
  • SERVICE_PLUGIN
  • DATA_COLLECTION
  • APP_TOOLS
  • HTTP_ENDPOINT
--params <json>Generates an extension non-interactively from a JSON object describing it, instead of the prompts. Can't be combined with --type. wix schema generate prints the schema of the object for every available extension type.

Last updated: 10 November 2026

Did this help?