This is an example using 3 microfrontend and a shell wired with module federation
- Node >= 12
- Webpack 5
- Yarn / NPM
yarn start
- Start dev serveryarn build
- Create prod bundleyarn serve
- Create prod bundle and serves them usinghttp-server
-
Why some sections are not working? Make sure all 4 apps are running
-
Does Module Federation work on CRA? Nope, not yet. Check out this thread
Estas es una aplicación de 3 microfrontends y un shell el cual utilizan module federation para conectarse
- Node >= 12
- Webpack 5
- Yarn / NPM
yarn start
- Inicia aplicación en modo devyarn build
- Crea assets de producciónyarn serve
- Crea assets de producción y los sirve atravez del paquetehttp-server
-
¿Porqué algunas seccionnes no me funcionan? Asegurese de tener todos las aplicaciones corriendo
-
CRA soporta Module Federation? Nope, todavía no. Puede seguir este thread