7.1.12 • Published 1 day ago

@medusajs/admin v7.1.12

Weekly downloads
-
License
-
Repository
github
Last release
1 day ago

Getting started

Install the package:

yarn add @medusajs/admin

Add the plugin to your medusa-config.js:

module.exports = {
  // ...
  plugins: [
    {
      resolve: "@medusajs/admin",
      options: {
        // ...
      },
    },
  ],
  // ...
}

Configuration

The plugin can be configured with the following options:

OptionTypeDescriptionDefault
serveboolean?Whether to serve the admin dashboard or not.true
pathstring?The path the admin server should run on. Should not be prefixed or suffixed with a slash. Cannot be one of the reserved paths: "admin" and "store"."app"
outDirstring?Optional path for where to output the admin build filesundefined
backendstring?URL to server. Should only be set if you plan on hosting the admin dashboard separately from your serverundefined

Hint: You can import the PluginOptions type for inline documentation for the different options:

module.exports = {
  // ...
  plugins: [
    {
      resolve: "@medusajs/admin",
      /** @type {import('@medusajs/admin').PluginOptions} */
      options: {
        path: "app",
      },
    },
  ],
  // ...
}

Building the admin dashboard

The admin will be built automatically the first time you start your server. Any subsequent changes to the plugin options will result in a rebuild of the admin dashboard.

You may need to manually trigger a rebuild sometimes, for example after you have upgraded to a newer version of @medusajs/admin. You can do so by adding the following script to your package.json:

{
  "scripts": {
    "build:admin": "medusa-admin build"
  }
}

Accessing the admin dashboard

The admin dashboard will be available at your-server-url/app, unless you have specified a custom path in the plugin options. If you are running your server locally on port 9000 with the default path "app", you will be able access the admin dashboard at http://localhost:9000/app.

medusa-my-custom-pluginmedusa-plugin-contact-us@everything-registry/sub-chunk-592wodoxo-medusa-plugin-category-imageswodoxo-medusa-starter-defaultwodoxo-medusa-variant-images@hifive-dev/medusa-fulfillment-sendcloudshopism-customer-authshopism-emails-messagesshopism-globalpayments-pluginshopism-order-docketshopism-subscription-pluginshopism-wishlist-plugin@kvytech/medusa-plugin-announcement@kvytech/medusa-plugin-management@kvytech/medusa-plugin-newsletter@kvytech/medusa-plugin-product-reviewsgcm-custom-fulfillment1@rsc-labs/medusa-store-analytics@rsc-labs/medusa-affiliate-discount@rsc-labs/medusa-documents@zoowee/medusa-payment-razorpaymy-headlessmy-medusa-storeavif-convertmedusa-payment-payphonemedusa-payment-authorizenetmedusa-fulfillment-sendcloudmedusa-fulfillment-belpostmedusa-fulfillment-econtmedusa-import-matterhorn-v1medusa-import-xtradermedusa-edit-optionvalue-metadatamds-plugin-shop-providermedusa-plugin-affiliatemedusa-plugin-custom-pricelistmedusa-plugin-delivery-matrixmedusa-plugin-easyblogmedusa-plugin-feedsmedusa-plugin-category-imagemedusa-plugin-couriermedusa-plugin-authorize-netmedusa-plugin-blobmedusa-plugin-mailjet1medusa-plugin-marketplacemedusa-payment-squaremedusa-plugin-pagemedusa-plugin-pagesmedusa-plugin-postmarkmedusa-plugin-printfulmedusa-plugin-quickbooksmedusa-plugin-kycmedusa-plugin-razorpay-detailsmedusa-plugin-settingsmedusa-product-feature-displaymedusa-storage-supabasemedusa-store-analytics-asmedusa-storefront-configurationmedusa-plugin-ultimatemedusa-plugin-user-rolesmedusa-plugin-reviews-and-ratingsmedusa-analytics-dashboardmedusa-authorizenetmedusa-bank-transfermedusa-blog-plugin
7.1.12

1 month ago

7.1.11

3 months ago

7.1.10

4 months ago

7.1.9

4 months ago

6.0.3

9 months ago

6.0.2

10 months ago

6.0.5

9 months ago

6.0.4

9 months ago

7.0.0

8 months ago

7.0.2

8 months ago

7.0.1

8 months ago

7.1.7

6 months ago

7.1.6

6 months ago

7.1.5

6 months ago

7.1.4

7 months ago

7.1.8

5 months ago

7.1.3

7 months ago

7.1.2

7 months ago

7.1.1

7 months ago

7.1.0

7 months ago

4.0.1

12 months ago

4.0.0

12 months ago

5.0.0

12 months ago

6.0.1

10 months ago

6.0.0

11 months ago

3.0.0

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0-rc.8

1 year ago

1.0.0-rc.7

1 year ago

1.0.0-rc.6

1 year ago

1.0.0-rc.5

1 year ago

1.0.0-rc.4

1 year ago

1.0.0-rc.3

1 year ago

1.0.0-rc.2

1 year ago

1.0.0-rc.1

1 year ago

1.0.0-rc.0

1 year ago

0.0.1

1 year ago