qiankun 实战 demo,父应用 vue(vite),子应用用 react(webpack) 和 vue(webpack)
一键安装所有主子应用的依赖
npm i
一键启动所有所有应用
npm start
通过 http://localhost:8080/ 访问主应用。
- 主系统篇
- [-] 整体架构
- [✔] 主页面整体交互
- [✔] 全局数据流共享
基于乾坤的微前端(移动端)实践
qiankun 实战 demo,父应用 vue(vite),子应用用 react(webpack) 和 vue(webpack)
一键安装所有主子应用的依赖
npm i
一键启动所有所有应用
npm start
通过 http://localhost:8080/ 访问主应用。
I see you comment code sub app react
const microApps = [
{
name: "sub-home",
entry:
import.meta.env.MODE === "development" ? devEntry.home : proEntry.home,
activeRule: "/sub-home",
},
{
name: "sub-first",
entry:
import.meta.env.MODE === "development"
? devEntry.online_consult
: proEntry.online_consult,
activeRule: "/sub-first",
},
// {
// name: "sub-react",
// entry: "//localhost:7788/subapp/sub-react/",
// activeRule: "/sub-react",
// },
];
But I uncommnet and open route subapp/react not working
As described in title, would you mind providing a demo using vite as sub app?
Thanks!
请问这里的“乾坤”,是指使用了华为乾坤api吗?还是说其他的东西啊?
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.