pibigstar / admin-todo

React + antd 开发的后端管理平台,登陆页面非常好看

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

任务发布系统后端管理

技术栈

  • react
  • antd
  • react-router
  • mobx
  • canvas
  • ES6
  • cookie

项目目录结构

assets--------存储静态图片资源和共用icon图标
components----存储共用组件
routes--------业务页面入口和常用模板
store---------状态管理
utils---------工具函数

项目截图

登录页面 列表页面

启动

npm run start

快速开发

1. 添加页面JS

在src/routes/ 下新增页面JS

2. 添加导航菜单

在src/components/SiderNav/index.js

1) 在menus数组中新增链接

3. 添加页面链接

在src/components/ContentMain/index.js中

1)新增链接位置

const UserList = LoadableComponent(()=>import('../../routes/UserList/index'))
  1. 注册路由
<PrivateRoute exact path='/home/user/list' component={UserList}/>

相关项目

About

React + antd 开发的后端管理平台,登陆页面非常好看


Languages

Language:JavaScript 86.8%Language:CSS 7.1%Language:HTML 6.0%