摘要:
1.在命令行中输入安装 npm install --save vuex 2.然后在main.js文件中引用store和在new Vue中声明store import store from './store' store, 3.在src中创建一个page文件,在page文件下创建一个module的js 阅读全文
posted @ 2018-12-18 10:46
谮包子
阅读(8501)
评论(0)
推荐(1)
摘要:
npm install 阅读全文
posted @ 2018-12-18 10:17
谮包子
阅读(1164)
评论(0)
推荐(0)