配置的局部刷新 webpack.config.js 中配置 目的: 页面 刷新 效果 devServer:{ open:true, port:8080, inline:true, noInfo:true, historyApiFallback: true //重点 },