- remix-remote: The remote app
- remix-host: The host consuming that remote
The remote app doesn't need a running express server. The host express server will consume only its JS server bundle, and serve its public resource on its own path.
Clone and build Remix fork with yalc
Clone the Remix fork, then run:
cd remix
yarn install
yarn build
cd build/node_modules/@remix-run/dev
npx yalc publish
cd remix-remote
npx yalc add @remix-run/dev
npm i
cd remix-host
npx yalc add @remix-run/dev
npm i
cd remix-remote
npm i
npm run dev
cd remix-host
npm i
npm run build # if you have not run build before in remix-host.
npm run dev