소스 검색

Merge pull request #118 from billcolumbia/update-docs-getting-started

Update store with default export to match later docs and examples
Evan You 9 년 전
부모
커밋
55ac7d8621
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/en/getting-started.md

+ 1 - 1
docs/en/getting-started.md

@@ -25,7 +25,7 @@ const mutations = {
   }
 }
 
-const store = new Vuex.Store({
+export default new Vuex.Store({
   state,
   mutations
 })