> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: About Extensions in the Wix CLI

## Article: About Extensions in the Wix CLI

## Article Link: https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/supported-extensions/about-extensions-in-the-wix-cli.md

## Article Content:

# About Extensions in the Wix CLI

The Wix CLI allows you to easily extend your app's functionality with [extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/about-extensions.md). For example, with extensions you can add custom dashboard pages or implement backend logic to handle events. 

The Wix CLI supports multiple [extension types](#supported-extension-types). The creation and setup process for extensions in the CLI takes place in the terminal. Then, to edit your extensions, you write code directly in your project's local files.

## Adding extensions

You can add extensions to your app using the [generate](https://dev.wix.com/docs/wix-cli/command-reference/project-commands/generate.md) command.

This command starts a process that guides you through adding an extension to your app. 

After selecting an extension, you'll be prompted for the relevant configuration details. Your extension will then be generated in your project's local files under `src/extensions/`. If you want to move your extension files in your project, make sure the new path is specified in the `extension.ts` file. Learn more [about the `extension.ts` file](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/about-the-extensions-ts-file.md).

<blockquote class="important">

__Important:__
Some extensions require you to run [`release`](https://dev.wix.com/docs/wix-cli/command-reference/project-commands/release.md) to create an app version before they work. The [`preview`](https://dev.wix.com/docs/wix-cli/command-reference/project-commands/preview.md) command uploads your code but doesn't register all extensions in your app's configuration, so extensions like embedded scripts, site widgets, and site plugins can't be tested through `preview` alone.

</blockquote>

## Supported extension types

The Wix CLI currently supports the following extensions:

### Dashboard extensions

- [Dashboard pages](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/dashboard/dashboard-pages/add-dashboard-page-extensions-with-the-wix-cli.md)
- [Dashboard plugins](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/dashboard/dashboard-plugins/add-dashboard-plugin-extensions-with-the-wix-cli.md)
- [Dashboard menu plugins](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/dashboard/dashboard-menu-plugin/add-dashboard-menu-plugin-extensions-with-the-wix-cli.md)
- [Dashboard modals](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/dashboard/dashboard-modals/add-dashboard-modal-extensions-with-the-wix-cli.md)

### Backend extensions

- [Events](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/backend/events/add-event-extensions-with-the-wix-cli.md)
- [Service plugins](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/backend/service-plugins/add-service-plugin-extensions-with-the-wix-cli.md)
- [Data Collections](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/backend/data-collections/add-a-data-collections-extension-with-the-wix-cli.md) 

#### HTTP endpoints

Wix CLI projects support [HTTP endpoints](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/backend/http-endpoints/about-http-endpoints.md) for backend API development.

> **Note:** HTTP endpoints replace both [HTTP functions](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/backend/http-endpoints/about-http-endpoints.md) and [web methods](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/apis/web-methods/about-web-method-extensions.md) from the previous Wix CLI for Apps.

### Site extensions

- [Embedded scripts](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/site/embedded-scripts/add-an-embedded-script-extension-with-the-wix-cli.md)
- [Site widgets](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/site/custom-elements/add-a-custom-element-extension-with-the-wix-cli.md)
- [Editor React Components](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/site/editor-react-components/add-an-editor-react-component-extension-with-the-wix-cli.md)
- [Site plugins](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/site/site-plugins/add-a-site-plugin-extension-with-the-wix-cli.md)

## See also

- [About the Wix CLI](https://dev.wix.com/docs/wix-cli/guides/about-the-wix-cli.md)
- [Map your functionality to Wix's extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/map-your-app-s-functionality-to-wix-s-extensions.md)
- [About the extensions.ts File](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-cli/supported-extensions/about-the-extensions-ts-file.md)