Skip to content

adrienbaron/remix-federation-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remix federation experiment

Structure

  • 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.

How to run locally in dev mode

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

Install Remix dev locally with yalc

cd remix-remote
npx yalc add @remix-run/dev
npm i
cd remix-host
npx yalc add @remix-run/dev
npm i

Start building remote

cd remix-remote
npm i
npm run dev

Start building and serving host

cd remix-host
npm i
npm run build # if you have not run build before in remix-host.
npm run dev

About

Very ugly POC that try to make federated Remix apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published