第5月第13天 node cnpm安装 babel

1.

https://nodejs.org/en/download/

http://www.runoob.com/react/react-install.html

 

2.

  504  npm install --save-dev babel-core babel-cli
  505  npm install --save-dev babel-plugin-transform-strict-mode babel-plugin-transform-es2015-modules-commonjs  babel-plugin-transform-es2015-spread babel-plugin-transform-es2015-destructuring babel-plugin-transform-es2015-parameters
  506  vi .babelrc
  507  ls
  508  mkdir src
  509  cat package.json 
  510  vi test.js
 
  513  mv test.js src

  515  npm run build
  516  npm start

 

http://wuzishu.blog.51cto.com/6826059/1743361

http://www.cnblogs.com/diligenceday/p/5453523.html

 

3.promise

https://segmentfault.com/a/1190000002928371

4. map reduce

 

http://www.cnblogs.com/wyaocn/p/5808113.html

 

posted @ 2017-02-13 09:39  lianhuaren  阅读(121)  评论(0编辑  收藏  举报