create-module-federation-app
v2.0.4
Published
- Run `npx create-module-federation-app`. - Answer the questions. - Wait, till it creates required files and installs dependencies. - Run `pnpm run dev-n`. - Visit `http://localhost:3000/`. - Your Micro frontend project is ready for development.
Readme
Set up Module Federation based Micro-Frontends in single command
- Run
npx create-module-federation-app. - Answer the questions.
- Wait, till it creates required files and installs dependencies.
- Run
pnpm run dev-n. - Visit
http://localhost:3000/. - Your Micro frontend project is ready for development.
Limitations:
- Only Reactjs and Nextjs apps are supported for now.
- Commands are directed to
pnpmpackage manager, if you are using different package manager, please change the commands in package.json accordingly. - For Windows users, if
pnpm run dev-ncommand is not able to find folders, you might need to change theconcurrentlycommand fromcd <MFE folder name>; pnpm run dev-ntopnpm -C <MFE name> run dev-n
