Hi, I'm Phobal, I'm working at ChengDu.
Languages:
ant design pro 项目接入微前端示例
umi版本2.13.13
umijs_plugin-qiankun版本1.5.5
cnpm install安装
config中@umijs/plugin-qiankun master增加defer: true,
model文件中增加
import { qiankunStart } from 'umi';
effects里的函数增加
console.log('waiting for qiankun start');
setTimeout(qiankunStart, 1000);
控制台可以正常打印,但是无法启动qiankun,
控制台有warning:
single-spa.min.js:1 singleSpa.start() has not been called, 5000ms after single-spa was loaded. Before start() is called, apps can be declared and loaded, but not bootstrapped or mounted. See https://github.com/CanopyTax/single-spa/blob/master/docs/single-spa-api.md#start
烦请指导下,如何手工启动qiankun,是由于cnpm安装还是因为版本问题,还是其他什么原因呗,谢谢。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.