浏览代码

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
 })