回答編集履歴
1
微修正
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Vuexの公式サンプルの例では、import
|
1
|
+
Vuexの公式サンプルの例では、importを使ってモジュールとして分割してstoreを管理する例があります。
|
2
2
|
[vuex examples shopping-cart](https://github.com/vuejs/vuex/blob/dev/examples/shopping-cart/store/index.js)
|
3
3
|
OnsenUI For Vueのサンプルのように数が少ない場合はstoreを1ファイルで管理する例があります。
|
4
4
|
[vue-onsenui-kitchensink](https://github.com/frandiox/vue-onsenui-kitchensink/blob/master/src/store.js)
|