This is POC for Module Federation with Next.js and Chakra UI.
It contains three Next.js 13 apps:
layout
- port 3000, this repositorycontent
- port 3001, another repositoryshop
- port 3002, another repository
Both apps bootstrapped with create-next-app
.
Module Federation is configured based on examples from https://github.com/module-federation/module-federation-examples.
All components are taken from Chakra Templates.
Clone both apps and run the development server in each:
npm run dev
Open http://localhost:3000 with your browser to see the result.