import Vue from 'vue';
import Vuex from 'vuex';
import payModule from './module';
import getters from './getters';

import shopCart from './modules/shoppingCart';
import * as goodDetail from '@/views/product/store/goodDetail';
import createOrderStore from './modules/createOrder';
Vue.use(Vuex);
let store = new Vuex.Store({
  modules: {
    pay: payModule,
    goodDetail,
    shopCart,
    createOrderStore
  },
  getters
});

export default store;
