You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Module Federation includes, currently three projects:
Shell, the main project.
ProjectOne, the first microfrontend subProject.
ProjectTwo, the second microfrontend subProject.
In every app you should run:
npm install
Firstly, you should runShell with this command (port 4200):
ng serve
Secondly, you should runProjectOne with this command (port 4201):
ng serve
And Also, you should runProjectTwo with this command (port 4202):
ng serve
Description
ProjectOne exposes toShellDashboard Module which includes a table.Shell can accessDashboard Module via routing.
ProjectTwo exposes toShell and particularly intoShell's Form ComponentForm Component which includes a form.
By entering data in form and clicking submit, the submited data stored inGlobal State. Then we can retrieve these data insideDashboardModule withGlobal State and show them inside the table.
About
Micro-Frontend Implementation using Module Federation