2020-10-02 07:13:14 +00:00
|
|
|
import { store } from 'quasar/wrappers';
|
2021-01-30 03:19:30 +00:00
|
|
|
import { createStore } from 'vuex';
|
2020-10-02 07:13:14 +00:00
|
|
|
|
2021-01-30 03:19:30 +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!)
|
2021-01-30 03:19:30 +00:00
|
|
|
// for dev mode and --debug builds only
|
|
|
|
strict: !!process.env.DEBUGGING,
|
2020-10-02 07:13:14 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
return Store;
|
|
|
|
});
|