Browse Source

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

Update store with default export to match later docs and examples
Evan You 9 năm trước cách đây
mục cha
commit
55ac7d8621
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 })