Giter Club home page Giter Club logo

react-admin's Introduction

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:9000
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

#mock api
npm run mock

Ant Design React官方已经提供脚手架,同时也推荐了社区提供的脚手架和范例:
react-redux-antd-starter
reactSPA
react-redux-antd by Justin-lu
react-antd-admin
react-redux-antd by okoala
react-antd-redux-router-starter
antd-admin
更多
为什么要重复造轮?

不想用roadhog, dva
roadhog是对webpack,express...的一个封装
dva是对saga,react-router,redux...的封装
我不提倡不封装,但也不提倡过度封装。

截图

image image

参考资料

antd-admin 优秀的社区antd实践

React+Redux系列教程

React与Redux教程(一)connect、applyMiddleware、thunk、webpackHotMiddleware

React与Redux教程(二)Redux的单一状态树完全替代了React的状态机?

React与Redux教程(三)reduce()、filter()、map()、some()、every()、...展开属性

React与Redux教程(四)undo、devtools、router

React与Redux教程(五)异步、单一state树结构、componentWillReceiveProps

React与Redux教程(六)redux服务端渲染流程

React与Redux教程(七)自定义Redux中间件

React与Redux教程(八)连接数据库的Redux程序

React+Redux系列教程(续)

用更少的代码发起异步action(博主推荐)

RxJS + Redux + React = Amazing!(译一)

RxJS + Redux + React = Amazing!(译二)

react-admin's People

Contributors

lanux avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.