NextJS_microfrontend icon indicating copy to clipboard operation
NextJS_microfrontend copied to clipboard

NextJS micro-frontend example

Let’s build micro-frontend with React and Next.js

How to run:

  1. cd fe1
  2. run yarn build
  3. cd fe2
  4. run yarn build
  5. host remoteEntry.js & remoteEntry2.js from fe1 & fe2 build. located inside .next/server.
  6. cd fe3
  7. run yarn build
  8. run yarn start [Check hosted URL in next.config.js]