Browse Source

Update count property

I think we want to update the `count` property on state object.
Žiga Vidic 9 years ago
parent
commit
040734ba45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/en/actions.md

+ 1 - 1
docs/en/actions.md

@@ -19,7 +19,7 @@ const vuex = new Vuex({
   },
   mutations: {
     INCREMENT (state, x) {
-      state += x
+      state.count += x
     }
   },
   actions: {