# RMS-TEMP **Repository Path**: mudking/rms-temp ## Basic Information - **Project Name**: RMS-TEMP - **Description**: RMS三系统 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-11 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vskysoft-MOM-UI, MOM2.0系统前端项目 ## Getting Started * 安装tyarn ``` bash npm install -g tyarn ``` * 安装项目依赖. ``` bash tyarn ``` [使用方法](https://yarn.bootcss.com/docs/usage/) * 启动: npm start * 打包: npm run build ## 开发简要说明 ### 增加一个页面 * src/pages下建立一个目录pageA, 放置index.jsx和index.less. * 去src/configs/menus.ts中添加对应的菜单. * 去pageA目录下开发UI * pageA目录下增加一个service.ts, 封装对后台API接口的请求. 用到的uri前缀, 建议放到src/configs/configs.ts目录下. ## 部署 * 关闭mock(默认是关闭的) * 检查src/configs/configs.ts中的地址是否添加到/public/configs.js中. * npm run build 打包 * 将dist目录下的文件部署到目标服务器.