MyGit

umijs/qiankun

Fork: 2016 Star: 15821 (更新于 2024-10-31 04:15:10)

license: MIT

Language: TypeScript .

📦 🚀 Blazing fast, simple and complete solution for micro frontends.

最后发布版本: v2.10.16 ( 2023-11-15 16:24:05)

官方网址 GitHub网址

qiankun

npm version coverage npm downloads build status dumi

qiankun(乾坤)

In Chinese, qian(乾) means heaven and kun(坤) earth. qiankun is the universe.

Qiankun enables you and your teams to build next-generation and enterprise-ready web applications leveraging Micro Frontends. It is inspired by and based on single-spa.

🤔 Motivation

A quick recap about the concept of Micro Frontends:

Techniques, strategies and recipes for building a modern web app with multiple teams using different JavaScript frameworks. — Micro Frontends

Qiankun was birthed internally in our group during the time web app development by distributed teams had turned to complete chaos. We faced every problem micro frontend was conceived to solve, so naturally, it became part of our solution.

The path was never easy, we stepped on every challenge there could possibly be. Just to name a few:

  • In what form do micro-apps publish static resources?
  • How does the framework integrate individual micro-apps?
  • How to ensure that sub-applications are isolated from one another (development independence and deployment independence) and runtime sandboxed?
  • Performance issues? What about public dependencies?
  • The list goes on long ...

After solving these common problems of micro frontends and lots of polishing and testing, we extracted the minimal viable framework of our solution, and named it qiankun, as it can contain and serve anything. Not long after, it became the cornerstone of hundreds of our web applications in production, and we decided to open-source it to save you the suffering.

TLDR: Qiankun is probably the most complete micro-frontend solution you ever met🧐.

:sparkles: Features

Qiankun inherits many benefits from single-spa:

  • 📦 Micro-apps Independent Deployment
  • 🛴 Lazy Load
  • 📱 Technology Agnostic

And on top of these, it offers:

  • 💃 Elegant API
  • 💪 HTML Entry Access Mode
  • 🛡 Style Isolation
  • 🧳 JS Sandbox
  • Prefetch Assets
  • 🔌 Umi Plugin Integration

📦 Installation

$ yarn add qiankun  # or npm i qiankun

📖 Documentation

You can find the Qiankun documentation on the website

Check out the Getting Started page for a quick overview.

The documentation is divided into several sections:

💿 Examples

Inside the examples folder, there is a sample Shell app and multiple mounted Micro FE apps. To get it running, first clone qiankun:

$ git clone https://github.com/umijs/qiankun.git
$ cd qiankun

Now install and run the example:

$ yarn install
$ yarn examples:install
$ yarn examples:start

Visit http://localhost:7099.

🎯 Roadmap

See Qiankun 3.0 Roadmap

👥 Contributors

Thanks to all the contributors!

contributors

🎁 Acknowledgements

📄 License

Qiankun is MIT licensed.

最近版本更新:(数据更新于 2024-09-12 07:29:53)

2023-11-15 16:24:05 v2.10.16

2023-11-02 21:32:20 v2.10.15

2023-10-18 15:00:41 v2.10.14

2023-09-18 19:36:34 v3.0.0-rc.0

2023-08-25 21:02:34 v2.10.13

2023-08-07 16:06:55 v2.10.12

2023-07-06 18:53:09 v2.10.11

2023-06-30 16:31:40 v2.10.10

2023-06-13 15:12:14 v2.10.9

2023-05-16 16:39:59 v2.10.8

主题(topics):

framework, javascript, micro-frontend, micro-frontends, microfrontend, microfrontends, microservices

umijs/qiankun同语言 TypeScript最近更新仓库

2024-11-22 01:36:46 twentyhq/twenty

2024-11-21 16:58:07 labring/FastGPT

2024-11-21 16:14:54 RSSNext/Follow

2024-11-21 14:41:29 continuedev/continue

2024-11-21 00:40:00 immich-app/immich

2024-11-20 19:46:23 CopilotKit/CopilotKit