廢話很少說,先給一個github案例:前往..react
1.create-react-app <文件名>ios
安裝router:npm i react-router-dom -S;git
npm install -S react-router;github
npm i redux react-redux react-thunk redux-logger -Snpm
2.安裝redux:redux
npm install --save redux;
npm install --save react-redux;axios
npm install --save-dev redux-devtool; antd
3.安裝axios:react-router
npm install axios -S
4.安裝ant Design
app