diff --git a/docs/react/use-with-create-react-app.en-US.md b/docs/react/use-with-create-react-app.en-US.md index c42cc368750e..8dd08c2b2ad3 100644 --- a/docs/react/use-with-create-react-app.en-US.md +++ b/docs/react/use-with-create-react-app.en-US.md @@ -100,8 +100,7 @@ We are successd to run antd components now, but in the real world, there are sti For instance, we actully import all components in the project which will be a serious network perfermance issue. > You will see a warning in your browser console. - -![](https://zos.alipayobjects.com/rmsportal/dBLScZPjiUwunfyQVISX.png) +> ![](https://zos.alipayobjects.com/rmsportal/vgcHJRVZFmPjAawwVoXK.png) So it is necessary to customize the default webpack config. We can achieve that by using `eject` script command. diff --git a/docs/react/use-with-create-react-app.zh-CN.md b/docs/react/use-with-create-react-app.zh-CN.md index 1b6e79dc0971..c99bf89bcefd 100644 --- a/docs/react/use-with-create-react-app.zh-CN.md +++ b/docs/react/use-with-create-react-app.zh-CN.md @@ -97,8 +97,7 @@ export default App; 我们现在已经把组件成功运行起来了,但是在实际开发过程中还有很多问题,例如上面的例子实际上加载了全部的 antd 组件的代码(对前端性能是个隐患)。 > 你会在控制台看到如下警告。 - -![](https://zos.alipayobjects.com/rmsportal/dBLScZPjiUwunfyQVISX.png) +> ![](https://zos.alipayobjects.com/rmsportal/vgcHJRVZFmPjAawwVoXK.png) 我们需要对 create-react-app 的默认配置进行自定义。可以使用 `eject` 命令将所有内建的配置暴露出来。