# umi-mobile **Repository Path**: alertJack/umi-mobile ## Basic Information - **Project Name**: umi-mobile - **Description**: react + flexible - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-09-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # umi-mobile #### 项目介绍 react + flexible #### 软件架构 软件架构说明 1.项目目录结构 src layouts : 布局文件,项目的根组件就是文件中的index.js,如果需要引入外部的js或css等文件 在这里引入。 models:全局的数据流存放在这个地方,每个组件都可以获取数据。 pages:路由文件,无需定义路由,建立的文件夹名默认就是路由名字。 同样在某一个路由文件中包含model,scss,component等文件,代表这个路由页面需要 的局部数据、样式文件、组件。 themes:可以使用覆盖antd的主题 utils:公用文件夹 存放第三方的js、scss等公用文件 common.scss :全局覆盖样式、定义基础样式变量文件 request.js :ajax封装 viewport.js :flexible.js适配方案 #### 安装教程 1. npm install 或者 yarn install 2. npm start (运行开发环境dev) 3. npm run build (打包线上dist文件) #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本项目 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)