Browse Source

docs: add codemod running gif (#20671)

pull/20675/head
vagusX 5 years ago
committed by 二货机器人
parent
commit
0ac1c47ee0
  1. 2
      docs/react/migration-v4.en-US.md
  2. 2
      docs/react/migration-v4.zh-CN.md

2
docs/react/migration-v4.en-US.md

@ -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)

2
docs/react/migration-v4.zh-CN.md

@ -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)

Loading…
Cancel
Save