环境配置
安装脚手架:npm install create-react-app
安装yarn:brew install yarn
创建项目:create-react-app antd-demo
切换路径:cd antd-demo
安装路由:yarn add react-router-dom
安装axios:yarn add axios
安装antd:yarn add antd
启动项目:yarn start
2023-11-24 17:10:28
安装脚手架:npm install create-react-app
安装yarn:brew install yarn
创建项目:create-react-app antd-demo
切换路径:cd antd-demo
安装路由:yarn add react-router-dom
安装axios:yarn add axios
安装antd:yarn add antd
启动项目:yarn start