# react-temp **Repository Path**: adomin/react-temp ## Basic Information - **Project Name**: react-temp - **Description**: 自己搭建的一套react+webpack4+redux+react-router+axios+antd+less+mock的开发脚手架 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-04-01 - **Last Updated**: 2022-06-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # react-adomin 自己搭建的一套react+webpack4+redux+react-router+axios+antd+less+mock的开发脚手架 ### 使用 * `npm i` 安装包 * `npm start`或者`npm run dev` 启动本地开发环境 * `npm build` 打包 ## 建议做 * nginx开启gzip压缩 * nginx设置Cache-Control: max-age及Etag ## mock * `main.js`中`import mock from '@src/mock'`