初始化命令
生成 package.json
npm init
安装 npm 插件
npm install --save
npm install --save-dev
创建 .babelrc
{
"presets": ["react", "es2015", "stage-2"]
}
全局插件
npm install -g babel webpack webpack-dev-server
decorator
npm install babel-plugin-transform-decorators-legacy --save-dev
学习资料
- https://github.com/callemall/material-ui
- https://github.com/ant-design/ant-design
- http://www.css88.com/jqapi-1.9/category/ajax/
- http://es6.ruanyifeng.com/#docs/module
- http://www.ruanyifeng.com/blog/2015/03/react.html
- http://reactjs.cn/react/docs/events.html
- http://www.jianshu.com/p/94c988cf11f3
- http://cn.redux.js.org/docs/basics/Reducers.html
- http://www.w3school.com.cn/cssref/pr_border-style.asp
- http://getbootstrap.com/getting-started/#download
- http://www.tuicool.com/articles/zAVrqyQ
- https://segmentfault.com/a/1190000006112093?utm_source=tuicool&utm_medium=referral
- https://segmentfault.com/a/1190000005013207
- https://github.com/planningcenter/react-patterns#scope
- http://facebook.github.io/immutable-js/docs/#/
- https://zhuanlan.zhihu.com/p/20295971
- https://segmentfault.com/a/1190000004290333