wl-ui / wl-mfe Goto Github PK
View Code? Open in Web Editor NEW基于vue3+koa2+qiankun2的微前端后台管理系统项目实战
License: Apache License 2.0
基于vue3+koa2+qiankun2的微前端后台管理系统项目实战
License: Apache License 2.0
子应用引入百度地图(vue-baidu-map),调用百度地图的部分方法,出现跨域问题,会导致地图无法正常使用,尝试过在父页面的library里面新增共通组件下发给子应用,仍然会出现跨域问题,大牛能不能指导一下
执行 npm run init
异常。
$ npm run init
> [email protected] init
> node config/install.js
internal/modules/cjs/loader.js:905
throw err;
^
Error: Cannot find module 'chalk'
Require stack:
- E:\tmp\qiankun\wl-mfe\config\utils\utils.js
- E:\tmp\qiankun\wl-mfe\config\install.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.<anonymous> (E:\tmp\qiankun\wl-mfe\config\utils\utils.js:1:15)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19) {
code: 'MODULE_NOT_FOUND',
比如lerna?是否可以代替config多模块脚本运行管理
你好,我们公司招聘前端,是否感兴趣聊聊? wechat: demon-liao
qiankun2.0不是说支持ie11了吗?怎么在ie11上还是跑不起来?
在这个目录进行刷新 会无限 刷新重加载,可以解决一下吗。其它目录无此问题
主应用+子应用都使用vue3并使用vue-router-next。点击子应用页面内的,会触发三次子应用的router.beforeEach钩子,且不会触发主应用router的router.beforeEach钩子。
进行npm run serve出现:...wl-micro-frontends\trunk\subapp-blog\node_modules\_core-js@3.18.0@core-js\internals....
请问产线nginx如何配置,在同域下
刷新会直接跳转到子应用,基座的布局不在了
老哥,你有试过主应用是hash吗,我是试了hash不可以呢
有没有考虑过多页签模式,一个页签对应一个子应用;子应用页签切换时候保留状态。
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.