把代码拉到本地:
git clone https://github.com/oxyzhg/sdut-survey.git进入项目文件夹:
cd sdut-survey-react安装依赖:
#使用npm
npm install
#使用yarn
yarn开启本地服务:
#使用npm
npm start
#使用yarn
yarn start打包应用:
#使用npm
npm build
#使用yarn
yarn build然后把打包后的文件 build 文件夹上传就行了,可以改个名字。
- react16
- react-router4
- es6
- antd-mobile