README.md

November 7, 2025 · View on GitHub

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

FeatureTraditional SolutionsEsmx
ArchitectureManual sandbox + proxyNative ESM
RuntimeHas overheadZero overhead
Learning CurveFramework APIsStandard syntax
Module IsolationSandbox simulationBrowser native

🚀 Getting Started

npx create-esmx@latest my-app

📖 Documentation

📦 Core Packages

PackageVersionStatusDescription
@esmx/corenpm version🔵 PreviewMicro-frontend framework with ESM linking
@esmx/routernpm version🔵 PreviewFramework-agnostic router
@esmx/router-vuenpm version🔵 PreviewVue integration (2.7+ & 3)
@esmx/rspacknpm version🔵 PreviewFramework-agnostic Rspack tool
@esmx/rspack-vuenpm version🔵 PreviewRspack tool for Vue

🎯 Demo Projects

Project NameTech StackLive Preview
ssr-htmlNative HTML + TypeScriptPreview
ssr-vue2-hostVue 2.7 + SSRPreview
ssr-vue2-remoteVue 2.7Preview
ssr-preact-htmPreact + HTMPreview

💡 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