Browse Source

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

Missing `Vue.use(Vuex);`.
Reg 4 năm trước cách đây
mục cha
commit
1e2f3bf516
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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