Skip to content

Repository files navigation

create-mf-app

npm versionnpm version

Creates a Module Federation application, API server, or library based on one of multiple different templates.

Usage

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.

CLI Usage

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

Programmatic Usage

const{ buildProject }=require("create-mf-app");buildProject({type: "Application",name: "my-remote",port: "8080",framework: "react-19",css: "Tailwind",});

About

CLI app to create Module Federation applications

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages