About Embedded Scripts and the Wix CLI

The Wix CLI is in Developer Preview and is subject to change.

CLI Documentation Notice

You're viewing documentation for the new Wix CLI, which we recommend for all new projects.

The Wix CLI makes it easy to create and develop embedded script extensions for your app project.

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 project's directory from your HTML code with a relative link. There's no need for external hosting or CORS handling.
  • Simple embedding: Offload the responsibility for embedding the script to the user, avoiding complex authentication procedures.

See also

Did this help?