瀏覽代碼

Update Vuex store instance to default export to match later docs and examples

Bill Columbia 9 年之前
父節點
當前提交
e1d56da760
共有 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
 })