qiankun
An completed implementation of Micro Frontends
Last updated 4 years ago by kuitos .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install qiankun 
SYNC missed versions from official npm registry.

qiankunοΌˆδΉΎε€οΌ‰

npm version coverage npm downloads Build Status

In Chinese traditional culture qian means heaven and kun stands for earth, so qiankun is the universe.

An implementation of Micro Frontends, based on single-spa, but made it production-ready.

πŸ€” Motivation

As we know what micro-frontends aims for:

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

Modularity is very important for large application. By breaking down a large system into individual sub-applications, we can achieve good divide-and-conquer between products and when necessary combination, especially for enterprise applications that usually involve multi-team collaboration. But if you're trying to implement such a micro frontends architecture system by yourself, you're likely to run into some tricky problems:

  • In what form do sub applications publish static resources?
  • How does the main application integrate individual sub-applications?
  • How do you ensure that sub-applications are independent of each other (development independent, deployment independent) and runtime isolated?
  • Performance issues? What about public dependencies?
  • And so on...

After solving these common problems of micro frontends, we extracted the kernel of our solution after a lot of internal online application testing and polishing, and then named it qiankun.

Probably the most complete micro-frontends solution you ever met🧐.

πŸ“¦ Installation

$ yarn add qiankun  # or npm i qiankun -S

πŸ“– Documentation

https://qiankun.umijs.org/

πŸ’Ώ Getting started

This repo contains an examples folder with a sample Shell app and multiple mounted Micro FE apps. To run this app, first clone qiankun:

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

Now run the yarn scripts to install and run the examples project:

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

Visit http://localhost:7099.

:sparkles: Features

  • πŸ“¦ Based On single-spa
  • πŸ“± Technology Agnostic
  • πŸ’ͺ HTML Entry Access Mode
  • πŸ›‘ Style Isolation
  • 🧳 JS Sandbox
  • ⚑ Prefetch Assets
  • πŸ”Œ Umi Plugin Integration

🎯 Roadmap

  • [ ] Parcel apps integration (multiple sub apps displayed at the same time, but only one uses router at most)
  • [ ] Communication development kits between master and sub apps
  • [ ] Custom side effects hijacker
  • [ ] Nested Microfrontends

❓ FAQ

https://qiankun.umijs.org/faq/

πŸ‘¬ Community

https://qiankun.umijs.org/#community

🎁 Acknowledgements

Current Tags

  • 3.0.0-alpha.5                                ...           alpha (a year ago)
  • 3.0.0-beta.0                                ...           beta (a year ago)
  • 2.10.16                                ...           latest (a year ago)
  • 3.0.0-rc.15                                ...           next (a year ago)
  • 1.5.2                                ...           qiankun1 (4 years ago)
  • 3.0.0-rc.19                                ...           rc (10 months ago)

184 Versions

  • 3.0.0-rc.19                                ...           10 months ago
  • 3.0.0-rc.18                                ...           a year ago
  • 3.0.0-rc.17                                ...           a year ago
  • 3.0.0-rc.16                                ...           a year ago
  • 3.0.0-rc.15                                ...           a year ago
  • 3.0.0-rc.14                                ...           a year ago
  • 2.10.16                                ...           a year ago
  • 3.0.0-rc.13                                ...           a year ago
  • 3.0.0-rc.12                                ...           a year ago
  • 3.0.0-rc.11                                ...           a year ago
  • 2.10.15                                ...           a year ago
  • 3.0.0-rc.10                                ...           a year ago
  • 3.0.0-rc.9                                ...           a year ago
  • 3.0.0-rc.8                                ...           a year ago
  • 3.0.0-rc.7                                ...           a year ago
  • 3.0.0-rc.6                                ...           a year ago
  • 2.10.14                                ...           a year ago
  • 3.0.0-rc.5                                ...           a year ago
  • 3.0.0-rc.4                                ...           a year ago
  • 3.0.0-rc.3                                ...           a year ago
  • 3.0.0-rc.2                                ...           a year ago
  • 3.0.0-rc.1                                ...           a year ago
  • 3.0.0-rc.0                                ...           a year ago
  • 3.0.0-beta.0                                ...           a year ago
  • 3.0.0-alpha.6                                ...           a year ago
  • 3.0.0-alpha.5                                ...           a year ago
  • 2.10.13                                ...           a year ago
  • 3.0.0-alpha.4                                ...           a year ago
  • 3.0.0-alpha.3                                ...           a year ago
  • 3.0.0-alpha.2                                ...           a year ago
  • 2.10.12                                ...           a year ago
  • 2.10.11                                ...           a year ago
  • 2.10.10                                ...           a year ago
  • 2.10.9                                ...           a year ago
  • 2.10.8                                ...           a year ago
  • 2.10.7                                ...           2 years ago
  • 3.0.0-alpha.1                                ...           2 years ago
  • 3.0.0-alpha.0                                ...           2 years ago
  • 2.10.6                                ...           2 years ago
  • 2.10.5                                ...           2 years ago
  • 2.10.4                                ...           2 years ago
  • 2.10.3                                ...           2 years ago
  • 2.10.2                                ...           2 years ago
  • 2.10.1                                ...           2 years ago
  • 2.10.0                                ...           2 years ago
  • 2.9.3                                ...           2 years ago
  • 2.9.2                                ...           2 years ago
  • 2.9.1                                ...           2 years ago
  • 2.9.0                                ...           2 years ago
  • 2.8.4                                ...           2 years ago
  • 2.8.3                                ...           2 years ago
  • 2.8.2                                ...           2 years ago
  • 2.8.1                                ...           2 years ago
  • 2.8.0                                ...           2 years ago
  • 2.7.5                                ...           2 years ago
  • 2.7.4                                ...           2 years ago
  • 2.7.3                                ...           2 years ago
  • 2.7.2                                ...           2 years ago
  • 2.7.1                                ...           2 years ago
  • 2.7.0                                ...           3 years ago
  • 2.6.3                                ...           3 years ago
  • 2.6.2                                ...           3 years ago
  • 2.6.1                                ...           3 years ago
  • 2.6.0                                ...           3 years ago
  • 2.5.1                                ...           3 years ago
  • 2.5.0                                ...           3 years ago
  • 2.4.10                                ...           3 years ago
  • 2.4.9                                ...           3 years ago
  • 2.4.8                                ...           3 years ago
  • 2.4.7                                ...           3 years ago
  • 2.4.6                                ...           3 years ago
  • 2.4.5                                ...           3 years ago
  • 2.4.4                                ...           3 years ago
  • 2.4.3                                ...           3 years ago
  • 2.4.2                                ...           3 years ago
  • 2.4.1                                ...           4 years ago
  • 1.5.2                                ...           4 years ago
  • 2.4.0                                ...           4 years ago
  • 2.3.6                                ...           4 years ago
  • 2.3.5                                ...           4 years ago
  • 2.3.4                                ...           4 years ago
  • 2.3.3                                ...           4 years ago
  • 2.3.2                                ...           4 years ago
  • 2.3.1                                ...           4 years ago
  • 2.3.0                                ...           4 years ago
  • 2.2.3                                ...           4 years ago
  • 2.2.2                                ...           4 years ago
  • 2.2.1                                ...           4 years ago
  • 2.2.0                                ...           4 years ago
  • 2.2.0-1                                ...           4 years ago
  • 2.2.0-0                                ...           4 years ago
  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.26                                ...           4 years ago
  • 2.0.25                                ...           4 years ago
  • 2.0.24                                ...           4 years ago
  • 2.0.23                                ...           4 years ago
  • 2.0.22                                ...           4 years ago
  • 2.0.21                                ...           4 years ago
  • 2.0.20                                ...           4 years ago
  • 2.0.19                                ...           4 years ago
  • 2.0.18                                ...           4 years ago
  • 2.0.17                                ...           4 years ago
  • 2.0.17-3                                ...           4 years ago
  • 1.5.1                                ...           4 years ago
  • 1.5.0                                ...           4 years ago
  • 2.0.17-2                                ...           4 years ago
  • 2.0.17-1                                ...           4 years ago
  • 2.0.17-0                                ...           4 years ago
  • 2.0.16                                ...           4 years ago
  • 2.0.15                                ...           4 years ago
  • 2.0.15-0                                ...           4 years ago
  • 2.0.14                                ...           4 years ago
  • 2.0.13                                ...           4 years ago
  • 2.0.12                                ...           4 years ago
  • 2.0.12-2                                ...           4 years ago
  • 2.0.12-1                                ...           4 years ago
  • 2.0.12-0                                ...           4 years ago
  • 2.0.11                                ...           5 years ago
  • 2.0.10                                ...           5 years ago
  • 2.0.9                                ...           5 years ago
  • 2.0.8                                ...           5 years ago
  • 2.0.7                                ...           5 years ago
  • 2.0.6                                ...           5 years ago
  • 2.0.5                                ...           5 years ago
  • 1.4.6                                ...           5 years ago
  • 2.0.4                                ...           5 years ago
  • 2.0.3                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 2.0.0-4                                ...           5 years ago
  • 2.0.0-3                                ...           5 years ago
  • 2.0.0-2                                ...           5 years ago
  • 2.0.0-1                                ...           5 years ago
  • 2.0.0-0                                ...           5 years ago
  • 1.4.5                                ...           5 years ago
  • 1.4.4                                ...           5 years ago
  • 1.4.3                                ...           5 years ago
  • 1.4.2                                ...           5 years ago
  • 1.4.1                                ...           5 years ago
  • 1.4.0                                ...           5 years ago
  • 1.3.15-0                                ...           5 years ago
  • 1.3.14                                ...           5 years ago
  • 1.3.13                                ...           5 years ago
  • 1.3.12                                ...           5 years ago
  • 1.3.11                                ...           5 years ago
  • 1.3.10                                ...           5 years ago
  • 1.3.10-1                                ...           5 years ago
  • 1.3.10-0                                ...           5 years ago
  • 1.3.9                                ...           5 years ago
  • 1.3.8                                ...           5 years ago
  • 1.3.7                                ...           5 years ago
  • 1.3.5                                ...           5 years ago
  • 1.3.4                                ...           5 years ago
  • 1.3.3                                ...           5 years ago
  • 1.3.0                                ...           5 years ago
  • 1.2.3                                ...           5 years ago
  • 1.2.2                                ...           5 years ago
  • 1.2.1                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
  • 1.1.12-0                                ...           5 years ago
  • 1.1.11                                ...           5 years ago
  • 1.1.10                                ...           5 years ago
  • 1.1.9                                ...           5 years ago
  • 1.1.8                                ...           5 years ago
  • 1.1.7                                ...           5 years ago
  • 1.1.6                                ...           5 years ago
  • 1.1.6-1                                ...           5 years ago
  • 1.1.6-0                                ...           5 years ago
  • 1.1.5                                ...           5 years ago
  • 1.1.4                                ...           5 years ago
  • 1.1.3                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (16)
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE