Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmg1989/antd-mobile-roadhog
antd-mobile-roadhog
https://github.com/pmg1989/antd-mobile-roadhog
Last synced: about 22 hours ago
JSON representation
antd-mobile-roadhog
- Host: GitHub
- URL: https://github.com/pmg1989/antd-mobile-roadhog
- Owner: pmg1989
- License: mit
- Created: 2018-03-14T02:56:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T15:54:55.000Z (over 6 years ago)
- Last Synced: 2024-05-21T07:41:57.856Z (6 months ago)
- Language: JavaScript
- Size: 730 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## react project starter with antd-mobile 2.x, roadhog, redux, immutable
### 目录结构
```bash
├── /dist/ # 项目发布输出目录
├── /src/ # 项目源码目录
│ ├── /public/ # 公共文件模块,编译时copy至dist目录
│ ├── /components/ # UI组件模块
│ │ ├── index.js # 全局 export default 入口
│ ├── /constants/ # constant 常量配置模块
│ │ ├── index.js # 常量配置配置入口
│ ├── /container/ # 容器组件模块
│ │ └── App/index.js # APP入口
│ ├── /reducers/ # reducer模块
│ │ ├── index.js # reducer模块入口
│ ├── /services/ # 数据接口模块
│ ├── /svg/ # svg文件目录
│ ├── /themes/ # 项目公共样式目录
│ ├── /mock/ # 数据mock
│ ├── /utils/ # 工具函数
│ │ ├── app.js # 跟APP交互配置
│ │ ├── rem.js # 浏览器适配配置
│ │ ├── config.js # 项目常规配置
│ │ ├── request.js # 异步请求函数
│ ├── routes.js # 路由配置
│ ├── index.js # 入口文件
│ └── entry.dev.ejs # 开发环境下html入口文件
│ └── entry.ejs # 发布环境下html入口文件
├── package.json # 项目信息
├── .eslintrc # Eslint配置
└── .roadhogrc.js # roadhog配置
└── webpack.config.js# webpack相关配置
```Include below common usage:
- custom svg config
- rem config
- custom theme config### dev
```
yarn install
yarn run dev
```http://localhost:8001/