本项目基于react+redux+webpack技术栈完成,ui库源自于antd。 脚手架参考: git@github.com:Justin-lu/react-redux-antd.git
- hot reloading/browser-sync/redux devtools on dev build
- minify/chunkhash/trackJS on production build
- eslint both of terminal and pre-commit
- unit test of react/redux
- es6/webapck
- sass support
- UI Kit: Ant Design
- isomorphic-fetch
- mock data
- example app
- ...
npm install --global yarn # install yarn
git clone git@github.com:Justin-lu/react-redux-antd.git demo
cd demo
yarn
# run dev
npm run start
# run mock server
npm run start:mock
# dev start with test/lint
npm run start
# prodction start with browser-sync server
npm run start:prod
# production build
npm run build
# mock data
npm run start:mock
# run test
npm run test
# generate test cover report
npm run test:cover
- enable pre-commit hook
cd .git/hooks/ && ln -s ./../../tools/pre-commit pre-commit
- 初次建立,可运行
- 后面重构我的热网项目模块
-
- 热用户管理
-
- 预付费管理系统1
-