https://github.com/jherr/create-mf-app
CLI app to create Module Federation applications
https://github.com/jherr/create-mf-app
Last synced: 6 days ago
JSON representation
CLI app to create Module Federation applications
- Host: GitHub
- URL: https://github.com/jherr/create-mf-app
- Owner: jherr
- License: mit
- Created: 2021-10-08T01:57:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-05T01:41:55.000Z (17 days ago)
- Last Synced: 2025-02-08T05:03:29.892Z (14 days ago)
- Language: TypeScript
- Size: 400 KB
- Stars: 762
- Watchers: 12
- Forks: 85
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - jherr/create-mf-app - CLI app to create Module Federation applications (JavaScript)
README
# create-mf-app
[](https://badge.fury.io/js/create-mf-app) [](https://badge.fury.io/js/create-mf-app)
Creates a Module Federation application, API server, or library based on one of multiple different templates.
## Usage
```shell
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.
```shell
npx create-mf-app@latest
```You can also get help for the CLI for the options available.
```shell
npx create-mf-app@latest --help
```You can create an application using CLI options:
```shell
npx create-mf-app@latest --name my-remote --port 8080 --css Tailwind --template react-19
```Shorthand versions of each option are also available:
```shell
npx create-mf-app@latest -n my-remote -p 8080 -c Tailwind -t react-19
```## Programmatic Usage
```js
const { buildProject } = require("create-mf-app");buildProject({
type: "Application",
name: "my-remote",
port: "8080",
framework: "react-19",
css: "Tailwind",
});
```