...
|
...
|
@@ -3,6 +3,7 @@ import Vuex from 'vuex'; |
|
|
import {createApi} from 'create-api';
|
|
|
import storeYoho from './yoho';
|
|
|
import storeCoupon from './coupon';
|
|
|
import storeUfo from './order';
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
...
|
...
|
@@ -11,6 +12,7 @@ export function createStore(context) { |
|
|
namespaced: true,
|
|
|
modules: {
|
|
|
yoho: storeYoho(),
|
|
|
ufo: storeUfo(),
|
|
|
coupon: storeCoupon()
|
|
|
},
|
|
|
strict: process.env.NODE_ENV !== 'production'
|
...
|
...
|
|