瀏覽代碼

concepts.md store - "mutations" before "actions"

A suggestion. Just to make it "synchronized" to the remaining of the guide, where we learn "mutations" before "actions".
J Bruni 9 年之前
父節點
當前提交
a22bd8d704
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/en/concepts.md

+ 1 - 1
docs/en/concepts.md

@@ -25,8 +25,8 @@ import Vuex from 'vuex'
 
 
 const store = new Vuex.Store({
 const store = new Vuex.Store({
   state: { ... },
   state: { ... },
-  actions: { ... },
   mutations: { ... },
   mutations: { ... },
+  actions: { ... },
   getters: { ... }
   getters: { ... }
 })
 })
 ```
 ```