Selaa lähdekoodia

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

Missing `Vue.use(Vuex);`.
Reg 5 vuotta sitten
vanhempi
commit
1e2f3bf516
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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