Christian24 / microfrontends-poc

Microfrontends POC using webpack modules federation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

microfrontends-poc

Microfrontends POC using Webpack Modules Federation.

Based on advanced-api/dynamic-remotes example.

How to run

Install the dependencies

yarn

Run the applications in development mode

yarn dev

The packages dir contains three applications.
The main application-a responsible for loading others in runtime.
Descriptors for remote micro-applications can be loaded separately
and can serve as a contract interface between applications.
To simplify the example descriptors presented in appDescriptors.js file
The libs used in the main application (such as react, react-dom) shared with other apps,
but every app can use its own lib version if needed.

About

Microfrontends POC using webpack modules federation


Languages

Language:JavaScript 98.9%Language:HTML 1.1%