摘要: // 安装 npm install vuex --save // –save,因为你这个包我们在生产环境中是要使用的。 // 新建一个store文件夹,并在文件夹下新建store.js文件,文件中引入我们的vue和vuex,并用Vue.use进行引用。 import Vue from 'vue'; 阅读全文
posted @ 2018-09-03 19:05 cecelingmeng 阅读(69) 评论(0) 推荐(0) 编辑