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'
|
2018-03-08 10:36:09 +01:00
|
|
|
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,
|
2018-03-08 10:36:09 +01:00
|
|
|
Authorize,
|
|
|
|
TimelineSpace
|
2018-03-08 09:41:39 +01:00
|
|
|
}
|
2018-03-07 14:28:48 +01:00
|
|
|
})
|