https://github.com/xinlc/react-admin-template
this is a template for react + redux + redux-saga + antd architecture
https://github.com/xinlc/react-admin-template
admin-ui react
Last synced: about 2 months ago
JSON representation
this is a template for react + redux + redux-saga + antd architecture
- Host: GitHub
- URL: https://github.com/xinlc/react-admin-template
- Owner: xinlc
- License: mit
- Created: 2017-11-29T07:00:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-29T11:13:43.000Z (about 8 years ago)
- Last Synced: 2025-07-20T16:27:47.535Z (5 months ago)
- Topics: admin-ui, react
- Language: JavaScript
- Homepage:
- Size: 376 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# react-admin-template
后台前端模板,基于 react + redux + redux-saga + antd
## 使用
```bash
$ git clone https://github.com/xinlc/react-admin-template.git --depth=1
$ cd react-admin-template
$ npm install
$ npm start # 访问 http://localhost:8000
```
更多信息请参考 [使用文档](http://pro.ant.design/docs/getting-started)。
## 构建
```bash
$ npm run build
```
## 部署
```bash
$ bash deploy.sh
```
## 目录结构
```
├── dist # 构建文件
├── mock # 本地模拟数据
├── src
│ ├── config # 应用公用配置
│ ├── lib # 依赖, 工具库
│ ├── bundleTemplate # 业务应用
│ │ ├── components # 业务通用组件
│ │ ├── containers # 组件容器,业务页面
│ │ ├── reducers # redux
│ │ ├── services # redux saga
│ │ ├── index.js # bundle 入口
│ ├── theme.js # 主题配置
│ ├── index.js # 应用入口
│ ├── index.less # 全局样式
│ ├── index.ejs # HTML 模板
├── tests # 测试工具
├── README.md
└── package.json
```
## 模板
```
- Dashboard
- 工作台
- 结果
- 成功页
- 失败页
- 异常
- 403 无权限
- 404 找不到
- 500 服务器出错
- 帐户
- 登录
- 注册
- 注册成功
```
## 兼容性
现代浏览器及 IE11。