Browse Source

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

Missing `Vue.use(Vuex);`.
Reg 4 years ago
parent
commit
1e2f3bf516
1 changed files with 2 additions and 0 deletions
  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