Qiankun helps teams build web applications from independently deployed micro-apps. It is inspired by single-spa and adds sandboxing, HTML entry loading, and framework integrations.
Overview
Qiankun is a micro-frontend framework aimed at enterprise-style web applications built by multiple teams that may use different JavaScript stacks. It lets a host application load child apps into containers, coordinate them by URL when needed, and keep each child deployable on its own.
The framework builds on single-spa ideas such as lazy loading and stack-agnostic hosting, and adds HTML entry loading so a host can point at a URL rather than a fixed asset manifest. A JavaScript sandbox isolates global state by default, tracks timers and listeners, and cleans up on unmount. Micro-apps can run as native ES modules with dynamic import support, including Vite dev servers.
Supporting packages include streaming HTML loaders, standalone sandbox utilities, React and Vue UI bindings, and bundler plugins for webpack and Vite. Hosts typically call APIs such as loadMicroApp, registerMicroApps, and start, while micro-apps export standard lifecycle hooks.
Examples show React and Vue shells mounting shared micro-apps with sandbox and style isolation enabled. The design targets production web stacks where sub-applications need development and deployment independence without iframe-only integration.
Key features
- HTML URL entry loading
- Default JavaScript sandbox
- Native ESM micro-app execution
- Automatic asset preloading
- React and Vue UI bindings
- Webpack and Vite bundler plugins
- Route-driven micro-app registration
- Standalone sandbox package
Use cases
- Multi-team enterprise web portals
- Gradual migration of legacy frontends
- Independent deployable UI modules
- Mixed-framework host applications