基座安装的UI组件共享给子应用 #735
sitonlotus
started this conversation in
General
Replies: 2 comments 2 replies
-
这里的共享js只是子应用之间的贡献,基座共享组件库是很难做到的,尤其是按需加载的组件 |
Beta Was this translation helpful? Give feedback.
0 replies
-
可以使用模块联邦进行共享操作 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
你好,我想要的是在基座中通过npm/yarn/cnpm等包管理工具安装UI组件,然后引入后,子应用能够直接使用,这样在打包的时候就可以资源,在加载的时候可以减少文件资源的重复加载,这样还顺畅,这样能实现吗?
Beta Was this translation helpful? Give feedback.
All reactions