Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 580 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 580 Bytes

Micro-frontends learning notes

Module Federation Steps

  1. Designate one app as the Host and one as the Remote
  2. In Remote, decide which modules(files) you want to make available to other projects
  3. Set up Module Federation plugin to expose those files
  4. In the Host, decide which files you want to get from the remote
  5. Set up Module Federation plugin to fetch those files
  6. In the Host, refactor the entry point to load asynchronously
  7. In the Host, import whatever files you need from the remote

CSS Scoping

Make sure css is scoped for specific page/project