Customize Medusa Admin Dashboard With Extensions #13357
habualoush
started this conversation in
Show and tell
Replies: 3 comments
-
Great I was able to make it work following this. It's so easy now to work with plugins. I also extended it to support multiple plugins. |
Beta Was this translation helpful? Give feedback.
0 replies
-
thanks! my question is for example i did use the version tag. 2.8.3 wouldnt i have any conflicts problems when i wanted to update my branch? |
Beta Was this translation helpful? Give feedback.
0 replies
-
What if I want to keep up to date with what Medusa Admin Dashboard repo releases? Is that possible? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Medusa Dashboard Fork Implementation Guide
Overview
This guide explains how to fork the Medusa dashboard for full customization while maintaining backend integration and extension compatibility.
Benefits
Implementation Steps
1. Setup Yarn Workspaces
Add dashboard as a workspace in your root
package.json
:2. Fork the Dashboard
/dashboard/
directory"@medusajs/dashboard"
in dashboard'spackage.json
2.8.8
)3. Configure Build Scripts
Root package.json:
Dashboard package.json:
4. Configure Admin Extensions Integration
Dashboard vite.config.mts:
5. Configure Medusa Backend
medusa-config.ts:
6. Handle Version Conflicts
Root package.json resolutions:
7. Directory Structure
Development Workflow
Development Mode
Production Build
yarn build # Builds both backend and dashboard
Key Points
Extensions Bridge: The
@medusajs/admin-vite-plugin
withsources
config connects your backend admin extensions to the forked dashboardWorkspace Benefits: Yarn workspaces allow treating the dashboard as a local dependency while maintaining separate build processes
Version Synchronization: Keep all
@medusajs/*
packages at the same version across root and dashboardAdmin Disable: Disable the built-in admin in development to avoid conflicts with your forked version
Troubleshooting
@medusajs/ui
versions are compatible between root and dashboardResult
You get a fully customizable dashboard that:
Beta Was this translation helpful? Give feedback.
All reactions