icestark
icestark copied to clipboard
:tiger: Micro Frontends solution for large application(面向大型应用的微前端解决方案),站点国内镜像:https://icestark.gitee.io
Bumps [ws](https://github.com/websockets/ws) from 6.2.2 to 6.2.3. Release notes Sourced from ws's releases. 6.2.3 Bug fixes Backported e55e5106 to the 6.x release line (eeb76d31). Commits d87f3b6 [dist] 6.2.3 eeb76d3 [security] Fix...
原先vue2中采用 createMicroApp({ name: 'microApp', url: [ '/xxx/xxx.umd.js', '/css/index.css', ], container: appContainer, }) appHistory.push(‘/seller’,{},true) 可以跳转,移植到vue3+vite后跳转白屏,查看到js css文件是请求的,并插入到html中,但指定的元素内没有加载内容, 后尝试采用 registerMicroApps([ { name: 'microApp‘, activePath: '/seller', container: appContainer, url: [ '/xxx/xxx.umd.js', '/css/index.css', ], },...
微模块 vite4 + vue3 构建微模块 主应用使用报错问题 微模块 以及vite 生成 改造 ```js. main.ts import { createApp, type App } from 'vue' export { default } from './branch-detail/index.vue' let vue: App |...
**Do you want to request a *feature* or report a *bug*?** **What is the current behavior?** **If the current behavior is a bug, please provide the steps to reproduce and...
好像没有vite + vue的
优化后性能 
当大量调用 window上属性(主要大量调用isWindowFunction), 页面卡顿严重; 主应用运行耗时  页面独自运行耗时  子页面是地图渲染,三方框架底层大量调用Array.isArray 和 new Array
Mixed Content: The page at ‘https://xxx.com’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://xxx.com’. This request has been blocked. the content must be served over HTTPS.
样式丢失
**bug** **复现过程** 1. 主应用使用vue3 + antd构建; 2. 子应用使用react18 + antd5 + other(内部基于antd4封装的组件库); 3. 子应用覆写unmount函数,特意不执行root.unmount()卸载子应用(发现这样可以缓存react子应用页面状态) `export function unmount() {console.log('unmount ')}` 4. 从子应用A切换到别的子应用B再切回该子应用A离开时的路由,出现样式丢失,自己写的module.css样式和antd5(用了prefixCls)框架的样式,都丢了 **期望** 1. 切换子应用后样式不丢,正常展示。 2. 或者是否有缓存子应用所有状态的方案? 3. 或者能说明一下子应用切换时做了啥事情吗?