Skip to content

现在使用antd 6,@ant-design/x 使用的是1.x能不能兼容一下 #1411

@zhipenglin

Description

@zhipenglin

目前项目升级了antd v5-> v6,但是@ant-design/x报不兼容问题,必须升级到2.x,但是目前2.x api变动非常大,不能一起升级。
其实antd v6也是可以和@ant-design/x,但是由于

x/package.json

Line 261 in 709bf50

"antd": "^5.20.3",
这里的peerDependencies要求antd为5.x导致构建项目时检查失败。能否将这里的兼容性修改到antd 5,6都兼容?

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions