Creates a Module Federation application, API server, or library based on one of multiple different templates.
npx create-mf-app
These projects are not production complete. They are designed as lightweight projects that can be used to quickly prototype a new feature or library.
Without any arguments, the CLI will prompt you for the information required to create the project.
npx create-mf-app@latest
You can also get help for the CLI for the options available.
npx create-mf-app@latest --help
You can create an application using CLI options:
npx create-mf-app@latest --name my-remote --port 8080 --css Tailwind --template react-19
Shorthand versions of each option are also available:
npx create-mf-app@latest -n my-remote -p 8080 -c Tailwind -t react-19
const { buildProject } = require("create-mf-app");
buildProject({
type: "Application",
name: "my-remote",
port: "8080",
framework: "react-19",
css: "Tailwind",
});