소스 검색

API changes

Žiga Vidic 9 년 전
부모
커밋
52dba6b657
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
   },