← 返回
未分类 中文

Micro-Frontend Architecture

Micro-frontend architecture design and implementation guide. Use when: designing micro-frontend architecture, choosing between Module Federation/qiankun/sing...
微前端架构设计与实现指南。使用场景:在设计微前端架构、选择 Module Federation / qiankun / single‑SPA 等方案时。
goldath goldath 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 309
下载
💾 0
安装
1
版本
#latest

概述

Micro-Frontend Architecture

Framework Selection

ScenarioRecommended
-----------------------
New project, Webpack 5Module Federation
Legacy jQuery/Vue2 migrationqiankun
Multi-framework coexistencesingle-spa
Need JS sandbox + style isolationwujie

Core Workflow

  1. Design → Define app boundaries, shared dependencies, routing strategy
  2. Setup → Configure main app shell + sub-apps (see framework-specific refs)
  3. Communication → Choose communication pattern (see references/communication.md)
  4. Style Isolation → Prevent CSS conflicts (see references/style-isolation.md)
  5. Deploy → Independent CI/CD per sub-app (see references/deployment.md)

References

  • references/module-federation.md — Webpack Module Federation config & patterns
  • references/qiankun.md — qiankun registration, sandbox, lifecycle hooks
  • references/single-spa.md — single-spa root config & app registration
  • references/communication.md — Props, CustomEvent, shared store patterns
  • references/style-isolation.md — Shadow DOM, CSS Modules, scoped strategies
  • references/deployment.md — Independent deploy, CDN, versioning strategy

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 16:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 687 📥 331,482
dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 42,179
office-efficiency

中文周报日报自动生成

goldath
自动从要点输入生成专业的周/日工作报告。适用于需要将原始任务笔记整理成精炼的周报/日报的场景。
★ 0 📥 639