Skip to content
forked from umijs/qiankun

πŸ“¦ πŸš€ Blazing fast, simple and complete solution for micro frontends.

License

Notifications You must be signed in to change notification settings

aique127/qiankun

This branch is 2 commits ahead of, 42 commits behind umijs/qiankun:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b36aa7c Β· Jun 28, 2023
Jun 28, 2023
May 7, 2023
Sep 26, 2022
Jun 27, 2023
Aug 21, 2020
Aug 21, 2020
Oct 12, 2020
Feb 16, 2023
Aug 21, 2020
Oct 15, 2020
Aug 21, 2020
Apr 29, 2021
Aug 21, 2020
Jan 31, 2023
Jun 28, 2023
Jun 13, 2023
Mar 11, 2023

Repository files navigation

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🧐.

✨ 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 -S

πŸ“– 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.

About

πŸ“¦ πŸš€ Blazing fast, simple and complete solution for micro frontends.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.9%
  • JavaScript 1.1%