vue-cli整合vuex的时候,修改actions和mutations,实现热部署的方法 在store.js里面添加如下的代码就可以了://热重载if(module.hot){//指定要监控的文件module.hot.acce 热部署