0.0.4 • Published 1 year ago

@rigby-software-house/mercurjs-vendor v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

@rigby-software-house/mercurjs-vendor

Author website | Admin docs

Prerequisites


Getting started

Install the package:

yarn add @rigby-software-house/mercurjs-vendor

Add the plugin to your medusa-config.js:

module.exports = {
  // ...
  plugins: [
    {
      resolve: "@rigby-software-house/mercurjs-vendor",
      options: {
        // ...
      },
    },
  ],
  // ...
};

Accessing the vendor dashboard

After succesful instalation you can run medusa-vendor developer to spin up the vendor dashboard. You can also do so by adding the following script to your package.json:

{
  "scripts": {
    "dev:vendor": "medusa-vendor develop"
  }
}

Building the vendor dashboard

You may need to manually trigger a rebuild sometimes, for example after you have upgraded to a newer version of @rigby-software-house/mercurjs-vendor, or if you have disabled autoRebuild. You can do so by adding the following script to your package.json:

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