浏览代码

docs(zh): fix missing information in the guide (#1776)

Missing `Vue.use(Vuex);`.
Reg 4 年之前
父节点
当前提交
1e2f3bf516
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docs/zh/guide/README.md

+ 2 - 0
docs/zh/guide/README.md

@@ -20,6 +20,8 @@
 import Vue from 'vue'
 import Vuex from 'vuex'
 
+Vue.use(Vuex);
+
 const store = new Vuex.Store({
   state: {
     count: 0