Whalebird-desktop-client-ma.../src/renderer/store/index.js

22 lines
442 B
JavaScript
Raw Normal View History

2018-03-07 14:28:48 +01:00
import Vue from 'vue'
import Vuex from 'vuex'
2018-03-08 09:41:39 +01:00
import createLogger from 'vuex/dist/logger'
2018-03-07 14:28:48 +01:00
2018-03-08 09:41:39 +01:00
import Login from './Login'
import Authorize from './Authorize'
import TimelineSpace from './TimelineSpace'
2018-03-07 14:28:48 +01:00
Vue.use(Vuex)
export default new Vuex.Store({
2018-03-08 09:41:39 +01:00
strict: process.env.NODE_ENV !== 'production',
plugins: process.env.NODE_ENV !== 'production'
? [createLogger()]
: [],
modules: {
Login,
Authorize,
TimelineSpace
2018-03-08 09:41:39 +01:00
}
2018-03-07 14:28:48 +01:00
})