摘要:
一.在github上下载压缩包,github下载地址:https://github.com/vuejs/vue-devtools 二.解压到本地的某盘 三.用你的npm中进入该文件夹下 四.依次输: 1:npm install (如果在这部报错的话,就改用cnpm install。 cnpm需要安装 阅读全文
摘要:
报错信息: ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/components/header.vueModule build f 阅读全文
摘要:
一. 使用vuex修改state时,有两种方式: 1)可以直接使用 this.$store.state.变量 = xxx; 2)this.$store.dispatch(actionType, payload) 或者 this.$store.commit(commitType, payload) 二 阅读全文