UNPKG

siesta-lite

Version:

Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers

24 lines (17 loc) 404 B
import Vue from 'vue' import Vuex from 'vuex' import VuexI18n from 'vuex-i18n' // load vuex i18n module import app from './modules/app' import * as getters from './getters' Vue.use(Vuex) const store = new Vuex.Store({ strict: true, // process.env.NODE_ENV !== 'production', getters, modules: { app }, state: {}, mutations: {} }) Vue.use(VuexI18n.plugin, store) export default store