V2中如何与antd 3.x共存
#1281
-
场景: 问题: 希望结果: |
Beta Was this translation helpful? Give feedback.
Answered by
janryWang
Apr 23, 2021
Replies: 1 comment 2 replies
-
这个是因为formily/antd是走的peerDependencies,内部不会默认安装antd,所以是无法共存的,为的就是解决重复打包的问题 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
janryWang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个是因为formily/antd是走的peerDependencies,内部不会默认安装antd,所以是无法共存的,为的就是解决重复打包的问题