Skip to content

Files

Latest commit

Nov 14, 2024
908450d · Nov 14, 2024

History

History

medusa-delegate-example

README.md

Medusa Demo

Setup

  1. yarn install
  2. Login to medusa https://medusa.codes/
  3. Generate Read/Write Tokens and save https://app.medusa.codes/settings
  4. Copy Read/Write Tokens and add them to .env in the root of this directory.
  5. Run a build with pnpm run start, then go check medusa.
  6. If you want to test out version management, change something in dsl and run yarn build && yarn serve again - you will now be able to control what remote/app uses what version at runtime

Running Demo

Run yarn build && yarn serve

Notice that app1 will asynchronously load app2's button and vice versa.