CLI Documentation Notice
You're viewing documentation for the new Wix CLI, which we recommend for all new projects.
Dashboard plugins allow you to extend and enhance the functionality of a dashboard page for an app made by Wix.
The Wix CLI makes it easy to create and develop dashboard plugins. You build your plugin using Wix's React/Node.js stack, and then your plugin is deployed and hosted on the Wix cloud.
For more information on dashboard plugin extensions, read About Dashboard Plugins.
Follow the instructions below to:
Once this task is complete, your project will have a dashboard plugin extension that adds a plugin to the dashboard page of an app made by Wix.
Tip: Learn how to interact with the Wix dashboard using the Wix Dashboard SDK.
In the terminal:
Navigate to your project repo.
Run the generate command.
Follow the prompts for creating a dashboard plugin.
Upon completion, the extension files will be created in your project directory with the following structure:
For more information about these files, see Dashboard Plugin Extension Files and Code.
Once you finish generating your dashboard plugin, you can find your plugin's auto-generated React component in your .tsx file.
Run the dev command to open the dev menu.
Follow the prompts, then click the link to open a preview of the dashboard in your browser, then navigate to the dashboard page hosting your plugin.
Leave this window open.
Go to your .tsx file and edit the text inside the <Text> component to "Hello world!".
Note: When it comes to designing the UI for your plugin, consider using the Wix Design System, a collection of reusable React components that you can use to make your project appear and feel like a native Wix experience.
Customize your plugin to interact with the dashboard page data passed to the plugin's slot using the observeState() method from the Dashboard SDK:
@wix/dashboard package is installed in your project.observeState() method.
Save your file.
Navigate back to the dashboard page in your browser and see your changes.
Once your project is ready for production, you can build and deploy it.
Note: When you release an app project, you release a new version of the app allowing you to publish the app to the Wix App Market or install it on a site with a direct install URL. You can view your app's versions in the app dashboard.
To delete an existing dashboard plugin from your project:
.use() statements for the extension from the extensions.ts file.For app projects:
If you already have a version of your app project, you must build and deploy the project again after removing the dashboard plugin files.