Dashboard menu plugin extensions add menu items into pre-configured slots in dashboard pages of apps made by Wix in your headless project. When clicked, it either displays a dashboard modal or directs the project administrator to another dashboard page.
Follow the instructions below to:
Once this task is complete, the dashboard menu you specified in the installation process will contain the item you added, visible only in your project's dashboard.
In your project directory, run the following command and follow the prompts to create a dashboard menu plugin extension:
When the process is completed, you can find the extension files in the local project folder with the following structure:
Learn more about the dashboard menu plugin extension files.
Run the following command to open the dev menu:
Click the link to open your project's dashboard in the browser, then navigate to the dashboard page hosting your menu plugin.
Go to your extension.json
file and edit the title
to "Hello world!".
Save your file.
Navigate back to the dashboard page in your browser and see your changes.
Now that your project is ready for production with your new plugin, you can build your project and release your project.
For more information about building and deploying your project, see Build and Deploy a Project with the Wix CLI for Headless.
To delete an existing dashboard menu plugin from your project, delete the subfolder under src/extensions/
that contains your dashboard menu plugin's files.