@esmx/core

A high-performance microfrontend framework supporting Vue, React, Preact, Solid, and Svelte with SSR and Module Linking capabilities.
8,645 680
Install
npm install @esmx/core
Latest Version:3.0.0-rc.123
License:MIT
Last Updated:Aug 13, 2026
Links: GitHub  ·  npm
Maintainer: lzxb2015
Esmx Logo

@esmx/core

支持 Vue、React、Preact、Solid、Svelte 的高性能微前端框架,支持 SSR 与模块链接

English | 中文

🚀 特性

  • 原生微前端 - 基于 ESM + Import Map 的原生模块加载,零运行时开销
  • 依赖管理 - 中心化依赖管理,基于内容哈希的强缓存策略
  • 应用隔离 - ESM 原生模块隔离,保障应用运行时稳定性
  • SSR 支持 - 灵活的 SSR 策略,支持任意前端框架
  • 开发体验 - 完整的 TypeScript 支持,原生模块链接能力

📦 安装

# npm
npm install @esmx/core

# pnpm
pnpm add @esmx/core

# yarn
yarn add @esmx/core

🚀 快速开始

在 entry.node.ts 中定义应用,并在 devApp 选择构建工具集成:

import type { EsmxOptions } from '@esmx/core';

export default {
  async devApp(esmx) {
    return import('@esmx/rspack').then((m) => m.createRspackHtmlApp(esmx));
  }
} satisfies EsmxOptions;

然后用 esmx CLI 驱动:esmx dev、esmx build、esmx start。

📖 完整文档

📚 文档

访问官方文档获取详细的使用指南和 API 参考。

📄 许可证

MIT © Esmx Team

Related Packages

@gez/core

A high-performance microfrontend framework supporting Vue, React, Preact, Solid,...

5,868 680
@formkit/auto-animate

Add motion to your apps with a single line of code.

42,768,396 13,935
reactive-route

A reactive, framework-agnostic router in 2 KB

4,166 23
@nifrajs/web

Framework-agnostic SSR core for nifra - the render seam + HTML document orchestr...

13,975 6
ufbr

universal file based router

3,034 25

Version History

Pre-releases (89)
Version Released License
3.0.0-rc.123 MIT
3.0.0-rc.122 MIT
3.0.0-rc.120 MIT
3.0.0-rc.119 MIT
3.0.0-rc.118 MIT