From a56f021718417ec15256eedd4de3debddeeb28ed Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 5 Apr 2023 11:53:24 +0300 Subject: [PATCH] docs: fixed order of admin upgrade guides (#3729) --- .../admin/{admin-vite.md => 0-0-admin-vite.md} | 9 ++++++++- docs/content/upgrade-guides/admin/1-0-0.md | 5 ++++- 2 files changed, 12 insertions(+), 2 deletions(-) rename docs/content/upgrade-guides/admin/{admin-vite.md => 0-0-admin-vite.md} (85%) diff --git a/docs/content/upgrade-guides/admin/admin-vite.md b/docs/content/upgrade-guides/admin/0-0-admin-vite.md similarity index 85% rename from docs/content/upgrade-guides/admin/admin-vite.md rename to docs/content/upgrade-guides/admin/0-0-admin-vite.md index cd57d387c4..4b34ae3825 100644 --- a/docs/content/upgrade-guides/admin/admin-vite.md +++ b/docs/content/upgrade-guides/admin/0-0-admin-vite.md @@ -1,6 +1,7 @@ --- description: 'Actions Required for Vite Update' -sidebar_label: 'Medusa Admin: Vite' +sidebar_label: '(Repository) Vite' +slug: /upgrade-guides/admin/admin-vite sidebar_custom_props: iconName: 'computer-desktop-solid' --- @@ -9,6 +10,12 @@ sidebar_custom_props: Medusa Admin has been updated to Vite. Learn about breaking changes since the update. +:::warning + +This guide applies if you're using an old version of the admin repository and you're adding the latest changes of the repository. However, this repository is now deprecated and it's highly recommended to switch to using an admin plugin instead. You can learn more in [the upgrade guide](./1-0-0.md) + +::: + ## Overview Medusa Admin previously was built using Gatsby. As of a recent update, the Admin is now migrated to Vite 3. diff --git a/docs/content/upgrade-guides/admin/1-0-0.md b/docs/content/upgrade-guides/admin/1-0-0.md index 11147cf25d..6f4eaedcb4 100644 --- a/docs/content/upgrade-guides/admin/1-0-0.md +++ b/docs/content/upgrade-guides/admin/1-0-0.md @@ -1,8 +1,11 @@ --- description: "Migrate from the GitHub repository to the NPM package." +sidebar_label: 'v1.0.0' +sidebar_custom_props: + iconName: 'computer-desktop-solid' --- -# Medusa Admin: 1.0.0 +# Medusa Admin: v1.0.0 Medusa Admin has been moved from being hosted on a GitHub repository to being published as an NPM package that can be installed in the same project as the Medusa backend. This upgrade guide will help you find the right resources to make the upgrade.