docs: add codemod running gif (#20671)

This commit is contained in:
vagusX 2020-01-05 21:10:07 +08:00 committed by 二货机器人
parent 5aaa8975f1
commit 0ac1c47ee0
2 changed files with 4 additions and 0 deletions

View File

@ -135,6 +135,8 @@ yarn add -g @ant-design/codemod-v4
antd4-codemod src
```
![codemod running](https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*QdcbQoLC-cQAAAAAAAAAAABkARQnAQ)
For parts that cannot be modified automatically, codemod will prompt on the command line, and it is recommended to modify them manually as prompted. After modification, you can run the above command repeatedly to check.
![contains an invalid icon](https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*KQwWSrPirlUAAAAAAAAAAABkARQnAQ)

View File

@ -135,6 +135,8 @@ yarn add -g @ant-design/codemod-v4
antd4-codemod src
```
![codemod running](https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*QdcbQoLC-cQAAAAAAAAAAABkARQnAQ)
对于无法自动修改的部分codemod 会在命令行进行提示,建议按提示手动修改。修改后可以反复运行上述命令进行检查。
![contains an invalid icon](https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*KQwWSrPirlUAAAAAAAAAAABkARQnAQ)