第5月第13天 node cnpm安装 babel

时间:2023-01-24 01:01:22

1.

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

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

2.

    npm install --save-dev babel-core babel-cli
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
vi .babelrc
ls
mkdir src
cat package.json
vi test.js mv test.js src npm run build
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