An open API service indexing awesome lists of open source software.

https://github.com/esmnext/esmx

Next-generation micro-frontend framework based on ESM, sandbox-free with zero runtime overhead, supporting multi-framework hybrid development
https://github.com/esmnext/esmx

esm esmodule esmodules framework javascript micro-frontend micro-frontends microfrontend microfrontends react react-router router rspack ssr vite vue vue-router

Last synced: about 4 hours ago
JSON representation

Next-generation micro-frontend framework based on ESM, sandbox-free with zero runtime overhead, supporting multi-framework hybrid development

Awesome Lists containing this project

README

          


Esmx Logo

Esmx




npm version
Build
Coverage Report
node version
size


Next-generation micro-frontend framework based on ESM with zero runtime overhead, supporting sandbox-free multi-framework hybrid development



โšก๏ธ Ultimate Performance ยท ๐Ÿ› ๏ธ Developer Friendly ยท ๐Ÿ”ง Standard Syntax




English | ็ฎ€ไฝ“ไธญๆ–‡


## ๐Ÿš€ Core Features

- **Zero Runtime Overhead** - Based on native ESM + ImportMap, no sandbox or proxy
- **High-Performance Build** - Powered by Rspack, significantly faster builds
- **Complete SSR Support** - High-performance server-side rendering, SEO-friendly
- **Standard ESM Syntax** - No framework-specific APIs, minimal learning curve
- **Multi-Framework Support** - Vue, React, Preact, Solid, and more

## ๐Ÿ“Š vs Traditional Micro-frontends

| Feature | Traditional Solutions | Esmx |
|---------|----------------------|------|
| **Architecture** | Manual sandbox + proxy | Native ESM |
| **Runtime** | Has overhead | Zero overhead |
| **Learning Curve** | Framework APIs | Standard syntax |
| **Module Isolation** | Sandbox simulation | Browser native |

## ๐Ÿš€ Getting Started

```bash
npx create-esmx@latest my-app
```

๐Ÿ“– [Documentation](https://esmx.dev/guide/start/getting-started.html)

## ๐Ÿ“ฆ Core Packages

| Package | Version | Status | Description |
|---------|---------|--------|-------------|
| [**@esmx/core**](https://github.com/esmnext/esmx/tree/master/packages/core) | npm version | ๐Ÿ”ต **Preview** | Micro-frontend framework with ESM linking |
| [**@esmx/router**](https://github.com/esmnext/esmx/tree/master/packages/router) | npm version | ๐Ÿ”ต **Preview** | Framework-agnostic router |
| [**@esmx/router-vue**](https://github.com/esmnext/esmx/tree/master/packages/router-vue) | npm version | ๐Ÿ”ต **Preview** | Vue integration (2.7+ & 3) |
| [**@esmx/rspack**](https://github.com/esmnext/esmx/tree/master/packages/rspack) | npm version | ๐Ÿ”ต **Preview** | Framework-agnostic Rspack tool |
| [**@esmx/rspack-vue**](https://github.com/esmnext/esmx/tree/master/packages/rspack-vue) | npm version | ๐Ÿ”ต **Preview** | Rspack tool for Vue |

## ๐ŸŽฏ Demo Projects

| Project Name | Tech Stack | Live Preview |
|-------------|------------|--------------|
| [**ssr-html**](https://github.com/esmnext/esmx/tree/master/examples/ssr-html) | Native HTML + TypeScript | [Preview](https://esmx.dev/ssr-html/) |
| [**ssr-vue2-host**](https://github.com/esmnext/esmx/tree/master/examples/ssr-vue2-host) | Vue 2.7 + SSR | [Preview](https://esmx.dev/ssr-vue2-host/) |
| [**ssr-vue2-remote**](https://github.com/esmnext/esmx/tree/master/examples/ssr-vue2-remote) | Vue 2.7 | [Preview](https://esmx.dev/ssr-vue2-remote/) |
| [**ssr-preact-htm**](https://github.com/esmnext/esmx/tree/master/examples/ssr-preact-htm) | Preact + HTM | [Preview](https://esmx.dev/ssr-preact-htm/) |

---

> ๐Ÿ’ก **Development**: First run `pnpm build` to build all packages and examples, then `cd` to specific project directory to start development

## ๐Ÿ“ˆ Star History

[![Star History Chart](https://api.star-history.com/svg?repos=esmnext/esmx&type=Date)](https://www.star-history.com/#esmnext/esmx&Date)