Skip to content

基于antd-mobile, dva.js和create-react-app的react app项目模板,开箱即用,直接开发。A boilerplate based on ant design mobile,dva.js and create-react-app

Notifications You must be signed in to change notification settings

qtFo15e/react_mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react_mobile

此项目是基于antd-mobile, dva.js和create-react-app的react app项目模板,开箱即用,直接开发。
如果能帮助到你的话,请给个Star!

技术选型:

  • UI框架:react, antd-mobile
  • 数据层框架: redux, dva.js
  • 路由:react-router
  • AJAX: axios
  • 构建工具: webpack, create-react-app, react-app-rewired

通用组件:

  • 权限组件:引入ant pro的权限组件
  • 导航组件:来自开源社区,基于antd-mobile的TabBar,关联路由功能,封装成了底部导航组件
  • 重载组件:监控接口响应状态,在渲染接口异常时,给出“点击重试”的功能
  • 加载提示组件:根据接口状态和响应数据,在内容区域给出合理的提示,如:“加载中”,"暂无数据"

构建工具扩展:

  • UI主题: 基于react-app-rewired和less,修改antd-mobile的主题色

About

基于antd-mobile, dva.js和create-react-app的react app项目模板,开箱即用,直接开发。A boilerplate based on ant design mobile,dva.js and create-react-app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published