快速配置

第一步安装git bash

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

第二步安装node.js

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

第三步安装npm

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

第四步安装react

npm install -g create-react-app

第五步安装插件;

axios(ajax):

npm install axios --save

react-router-dom(路由库):

npm install react-router-dom --save

jquery(JS工具库):

npm install jquery --save

bootstrap(前端开发框架):

npm install bootstrap --save

moment(JS日期处理库):

npm install moment --save

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

npm install prop-types --save

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

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

Material-UI(react UI库):

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

ANT Desgin(阿里UI):

npm install antd --save

results matching ""

    No results matching ""