快速配置

第一步安装git bash

  1. https://git-scm.com/download/win

第二步安装node.js

  1. https://nodejs.org/dist/v6.10.3/node-v6.10.3-x64.msi

第三步安装npm

  1. npm install -g cnpm --registry=https://registry.npm.taobao.org

第四步安装react

  1. npm install -g create-react-app

第五步安装插件;

axios(ajax):

  1. npm install axios --save

react-router-dom(路由库):

  1. npm install react-router-dom --save

jquery(JS工具库):

  1. npm install jquery --save

bootstrap(前端开发框架):

  1. npm install bootstrap --save

moment(JS日期处理库):

  1. npm install moment --save

prop-types(React组件属性类型校验):

  1. npm install prop-types --save

react-addons-css-transition-group(react-router过渡动画):

  1. npm install react-addons-css-transition-group --save

Material-UI(react UI库):

  1. npm install material-ui react-tap-event-plugin --save

ANT Desgin(阿里UI):

  1. npm install antd --save