1、页面实时更新 browser-sync start --server --files "css/*.css, *.html,js/*.js"
2、 babel 的安装
npm i babel-core babel-loader babel-polyfill babel-preset-es2015 babel-preset-latest webpack webpack-cli -D
{ “presets”:["es2015","latest"], "plugins":[] }