浏览代码

Merge pull request #49 from zigomir/patch-2

API changes
Evan You 9 年之前
父节点
当前提交
d645bb9067
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/en/actions.md

+ 1 - 1
docs/en/actions.md

@@ -49,7 +49,7 @@ Note any arguments passed to the action is also passed along to the mutation han
 For actions that involve logic depending on current state, or that need async operations, we define them as functions. Action functions always get the store calling it as the first argument:
 
 ``` js
-const vuex = new Vuex({
+const vuex = new Vuex.Store({
   state: {
     count: 1
   },