Преглед на файлове

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({
   state: { ... },
-  actions: { ... },
   mutations: { ... },
+  actions: { ... },
   getters: { ... }
 })
 ```