废话不多说,先给一个github案例:前往..
1.create-react-app <文件名>
安装router:npm i react-router-dom -S;
npm install -S react-router;
npm i redux react-redux react-thunk redux-logger -S
2.安装redux:
npm install --save redux;
npm install --save react-redux;
npm install --save-dev redux-devtool;
3.安装axios:
npm install axios -S
4.安装ant Design
npm install antd-mobile --save