0.0.4 • Published 1 year ago
@rigby-software-house/mercurjs-vendor v0.0.4
@rigby-software-house/mercurjs-vendor
Prerequisites
- Medusa backend (>= 1.20.0)
Getting started
Install the package:
yarn add @rigby-software-house/mercurjs-vendorAdd 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"
  }
}