antd v3升级v4 提示Sorry that there are still some git changes

477 阅读1分钟

antd v3升级v4 提示Sorry that there are still some git changes

使用 npx -p @ant-design/codemod-v4 antd4-codemod src --force 强制升级 (--force后面有个空格) 需手动下载 @ant-design/icons @ant-design/compatible
需手动升级 antd到4版本

会有些坑 部分样式会乱套 不过没有坑哪来的工作量(smile)