Get started with Nx with Module Federation, or browse the topics below.
Concepts
Module Federation concepts
Guides
Module Federation implementation guides
Consumer and Provider
Use the new @nx/react:consumer and :provider generators to scaffold React Module Federation apps with Vite, Rsbuild, or Rspack.
Introduction
Build micro frontends with Module Federation and Nx, sharing code across your monorepo with caching and affected-only builds.
Vite Module Federation
Set up Module Federation with Vite in an Nx workspace using the @module-federation/vite plugin, with Nx orchestrating the host and remote tasks.