在create-react-app eject

时间:2017-10-16 21:56:22

标签: reactjs antd

我的react应用程序是使用create-react-app创建的,我添加了And Design: https://ant.design/docs/react/use-with-create-react-app

我甚至使用以下方法定制了一些较少的变量: https://ant.design/docs/react/use-with-create-react-app#Customize-Theme

现在,我弹出了我的应用程序,但一切都停止了。

EDIT1:

第一个错误是弹出后,package.json中配置的脚本不再有效,如下所述: https://github.com/ant-design/create-react-app-antd/issues/10

在弹出create-react-app后配置antd有哪些步骤?

由于

1 个答案:

答案 0 :(得分:0)

您只需要运行npm i react-scripts

这将安装您需要的缺失依赖项。

相关问题