Tencent / wujie

极致的微前端框架
https://wujie-micro.github.io/doc/
Other
3.9k stars 555 forks source link

IE 兼容性 #150

Open squallliu opened 1 year ago

squallliu commented 1 year ago

无界在IE上跑起来改动量还是挺大的,改了一版能在 IE11 上跑起来的版本 https://github.com/squallliu/wujie/tree/ie

欢迎 review 和测试,如果可以的话再发pr

yiludege commented 1 year ago

很棒的工作!你用的是我的demo来测试吗,或者可以提供一下测试demo,使用之前别人提供兼容IE11的demo来看还是有问题

squallliu commented 1 year ago

很棒的工作!你用的是我的demo来测试吗,或者可以提供一下测试demo,使用之前别人提供兼容IE11的demo来看还是有问题

一直都是用自己的项目跑的,现在把 demo 中的 vue-main 和 vue2 弄的可以跑了

yiludege commented 1 year ago

可否将改造好的 demo 也提交一下,我这边统一验证下

squallliu commented 1 year ago

可否将改造好的 demo 也提交一下,我这边统一验证下

提交了,更新下依赖应该就可以跑,目前只改造了vue-main 和 vue2

squallliu commented 1 year ago

又整了一版代码,代码改动量比上次小了不少 https://github.com/squallliu/wujie/tree/ie

yiludege commented 1 year ago

我这边创建了一个分支 feat/fit-ie-browser,你要不提一个 pr 到这个分支?

demo 要是全部可以适配 ie 就好了

squallliu commented 1 year ago

我这边创建了一个分支 feat/fit-ie-browser,你要不提一个 pr 到这个分支?

demo 要是全部可以适配 ie 就好了

现在 main-react、react16、react17、angular12 也可以在 ie11 跑了(vue3和vite还没测试)

squallliu commented 1 year ago

我这边创建了一个分支 feat/fit-ie-browser,你要不提一个 pr 到这个分支?

demo 要是全部可以适配 ie 就好了

由于 vue3 本身不支持 ie,vue3与vite demo就没有适配