home | actionText | actionLink | features | footer | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
true |
Get Started → |
/guide/ |
|
MIT Licensed | Copyright © 2019-present |
$ yarn add qiankun # or npm i qiankun -S
import { registerMicroApps, start } from 'qiankun';
// register the sub apps
registerMicroApps([
{
name: 'reactApp',
entry: '//localhost:7100',
render: ({ appContent }) => ReactDOM.render(<App appContent={appContent}>, document.getElementById('container')),
activeRule: location => location.pathname.startsWith('/react'),
},
]);
start();
See details:Getting Started
Github Issue | 钉钉群 |
---|---|
umijs/qiankun/issues |