# m-help-fe **Repository Path**: WS0119/m-help-fe ## Basic Information - **Project Name**: m-help-fe - **Description**: vite+react+antd后台数据管理 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-11 - **Last Updated**: 2021-11-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### Vite + React +Antd 1. 当前项目操作 依赖安装 ```js yarn install ``` 项目运行 ```js yarn dev ``` 项目打包上线 ```js yarn rel ``` 注:如果使用 npm , windows 会自动调用 git bash 运行 shell 文件,通过 gitpush.sh 命令运行 ```js // windows 对应运行方式为 gitpush.sh // windows 不支持 ./gitpush.sh 的方式,与 mac 不统一 // 使用 yarn 不会产生这个问题,统一使用 ./gitpush.sh 的方式运行 // win 使用 npm run rel:win // mac 使用 npm run rel:mac ``` 2. 通过shell脚本自动化执行代码提交 3. 主要技术: - [x] Vite2 - [x] react17 - [x] react-dom17 - [x] react-router-dom5 - [x] redux4.1 - [x] react-redux7 - [x] redux-thunk2.3 - [x] axios0.21 当前项目结构 ```sh . ├── README.md ├── copy.js ├── gitpush.js // 废弃 mac os 系统,输入内容无效 ├── gitpush.sh ├── index.html ├── package-lock.json ├── package.json ├── sh.js ├── src │   ├── App.jsx │   ├── App.less │   ├── api │   ├── components │   │   ├── Code │   │   │   └── index.jsx │   │   ├── ContainerMain │   │   │   ├── PrivateRouter.jsx │   │   │   └── index.jsx │   │   ├── HeaderSearch │   │   │   ├── HeaderSearch.less │   │   │   └── index.jsx │   │   ├── Loading │   │   │   ├── Loading.less │   │   │   └── index.jsx │   │   └── Sidebar │   │   ├── index.jsx │   │   └── sidebar.less │   ├── favicon.png │   ├── index.css │   ├── main.jsx │   ├── pages │   │   ├── CI │   │   │   └── index.jsx │   │   ├── Coding │   │   │   └── index.jsx │   │   ├── FE │   │   │   ├── components │   │   │   └── index.jsx │   │   ├── Home │   │   │   ├── home.module.less │   │   │   └── index.jsx │   │   ├── Vue2 │   │   │   ├── index.jsx │   │   │   └── vue.js │   │   └── Vue3 │   │   └── index.jsx │   ├── router │   │   └── index.js │   ├── settings.js │   ├── styles │   │   ├── content.less │   │   ├── iconfont.css │   │   ├── index.less │   │   ├── layout.less │   │   ├── reset.less │   │   └── var.less │   └── utils │   ├── request.js │   └── tools.js ├── vite.config.js ├── yarn.lock └── 项目结构.md ```