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-04-01 05:00:58 +02:00
|
|
|
import App from './App'
|
2018-03-08 11:53:14 +01:00
|
|
|
import GlobalHeader from './GlobalHeader'
|
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-04-01 05:00:58 +02:00
|
|
|
import Preferences from './Preferences'
|
2018-10-26 17:54:51 +02:00
|
|
|
import Settings from './Settings'
|
2018-11-14 13:44:33 +01:00
|
|
|
import molecules from './molecules'
|
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: {
|
2018-04-01 05:00:58 +02:00
|
|
|
App,
|
2018-03-08 11:53:14 +01:00
|
|
|
GlobalHeader,
|
2018-03-08 09:41:39 +01:00
|
|
|
Login,
|
2018-03-08 10:36:09 +01:00
|
|
|
Authorize,
|
2018-04-01 05:00:58 +02:00
|
|
|
TimelineSpace,
|
2018-10-26 17:54:51 +02:00
|
|
|
Preferences,
|
2018-11-14 13:44:33 +01:00
|
|
|
Settings,
|
|
|
|
molecules
|
2018-03-08 09:41:39 +01:00
|
|
|
}
|
2018-03-07 14:28:48 +01:00
|
|
|
})
|