vue vuex的用法

1、引入  vue.js    vuex.js 文件

2、创建Store文件

   var sSatte=new Vuex.Store({

     state:{},

     mutations:{},

     actions:{}

})


原文地址:https://www.cnblogs.com/gpzhen/p/7196700.html