import 'es6-promise/auto';
import Vuex from 'vuex';

import authStore from 'src/stores/auth-store';
import connectionStore from 'src/stores/connection-store';

// Vue.use(Vuex);

export default new Vuex.Store({
  strict: true,
  modules: {
    auth: authStore,
    connection: connectionStore,
  },
});

import 'es6-promise/auto';
import Vue from 'vue';
import Vuex from 'vuex';

import authStore from 'src/stores/auth-store';
import connectionStore from 'src/stores/connection-store';

Vue.use(Vuex);

export default new Vuex.Store({
  strict: true,
  modules: {
    auth: authStore,
    connection: connectionStore,
  },
});

Load vue locally, vuex needs to register