vue vuex的用法

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

2、创建Store文件

   var sSatte=new Vuex.Store({

     state:{},

     mutations:{},

     actions:{}

})


posted @ 2017-07-17 17:47  js初学者  阅读(213)  评论(0编辑  收藏  举报