mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
docs: add codemod running gif (#20671)
This commit is contained in:
parent
5aaa8975f1
commit
0ac1c47ee0
@ -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)
|
||||
|
@ -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…
Reference in New Issue
Block a user