CLI for quickly scaffolding a micro frontend ready for OpenMFP Portal integration (Luigi + UI5 Web Components).
create-micro-frontend generates an app with:
- Choosen framework starting files
- Preinstalled
@luigi-project/clientand@ui5/webcomponents - Ready-to-use Luigi content configuration
- Optional demo Object Page built with UI5 components
- Angular (available): full template, Luigi context wiring, UI5 Web Components, optional demo Object Page.
- React (planned): will provide Luigi wiring and UI5 component setup once released.
- Vue (planned): will provide Luigi wiring and UI5 component setup once released.
- Node.js ≥ 20.0.0
- npm ≥ 10 (11 recommended)
Run with interactive defaults:
npx create-micro-frontendSet a project name:
npx create-micro-frontend my-mfe-f, --framework <angular|react|vue>— only Angular is supported today; React/Vue are planned--skip-example— omit the demo Object Page-y, --yes— skip prompts and use defaults
-
Target directory exists: choose another name or remove the folder.
-
Dependency install failed: run manually:
cd my-mf npm install -
Angular CLI missing / npx timeout: ensure
npxand network access; runnpm cache verifyif needed and retry.
- Run all tests:
npm test - Run unit tests only:
npm run test:unit - Run integration tests only:
npm run test:integration
- GitHub: https://github.com/openmfp/create-micro-frontend
- npm: https://www.npmjs.com/package/@openmfp/create-micro-frontend
For questions and support, please open an issue on the GitHub repository.
create-micro-frontend is part of the open-source initiative under the NeoNephos project of the Linux Foundation Europe.
