flaschengeist-frontend/src/store/index.ts

15 lines
332 B
TypeScript
Raw Normal View History

2020-10-02 07:13:14 +00:00
import { store } from 'quasar/wrappers';
import { createStore } from 'vuex';
2020-10-02 07:13:14 +00:00
export default store(function (/* { ssrContext } */) {
const Store = createStore({
2020-10-16 07:38:14 +00:00
modules: {},
2020-10-02 07:13:14 +00:00
// enable strict mode (adds overhead!)
// for dev mode and --debug builds only
strict: !!process.env.DEBUGGING,
2020-10-02 07:13:14 +00:00
});
return Store;
});