wix-cli-extension-registration
Installation
SKILL.md
Wix App Registration
After creating any extension file, you must update the main src/extensions.ts file to register the extension with the app.
Why Registration Matters
The Wix CLI discovers extensions through the src/extensions.ts file — it's the single entry point that tells the build system which extensions exist. Without registration:
- Dashboard pages won't appear in the sidebar
- Site widgets won't show in the Wix Editor
- Service plugins won't be called during checkout flows
- Event handlers won't receive webhook deliveries
- Embedded scripts won't be injected into site pages
The most common cause of "my extension isn't working" is a missing .use() call in this file.
Simple Pattern (Recommended for Small Apps)
src/extensions.ts - Import and register extensions directly: