About Embedded Scripts and the CLI

This feature is in Developer Preview and is subject to change.

The Wix CLI makes it easy to create and develop embedded script extensions.

For general information about this extension type, read About Embedded Scripts.

Why create an embedded script extension with the CLI

The Wix CLI simplifies setup, testing, and deployment for embedded script extensions.

  • Single-command setup - Generate an embedded script extension in your app with one command.
  • Easy, early testing - Test the embedded script extension on a development site before building an app. You can specify values for dynamic parameters to use during testing.
  • Use local files - Reference any file in your app's directory from your HTML code with a relative link — no need for external hosting or CORS handling.
  • Simple embedding - Offload the responsibility for embedding the script to the user, avoiding complex authentication procedures.

Templates and tutorials

The following embedded script CLI app templates are available:

Did this help?