2020-08-22 22:39:31 +00:00
|
|
|
import Vuex from 'vuex'
|
|
|
|
import Vue from 'vue'
|
|
|
|
|
|
|
|
import home from '@/store/modules/home'
|
2020-08-24 19:30:54 +00:00
|
|
|
import settings from '@/store/modules/settings'
|
2020-08-25 21:17:23 +00:00
|
|
|
import defaultSettings from '@/store/modules/defaultSettings'
|
|
|
|
import spotifyCredentials from '@/store/modules/spotifyCredentials'
|
2020-08-22 22:39:31 +00:00
|
|
|
|
|
|
|
// Load Vuex
|
|
|
|
Vue.use(Vuex)
|
|
|
|
|
|
|
|
// Create store
|
|
|
|
export default new Vuex.Store({
|
|
|
|
modules: {
|
2020-08-24 19:30:54 +00:00
|
|
|
home,
|
2020-08-25 21:17:23 +00:00
|
|
|
settings,
|
|
|
|
defaultSettings,
|
|
|
|
credentials: spotifyCredentials
|
2020-08-22 22:39:31 +00:00
|
|
|
},
|
|
|
|
strict: process.env.NODE_ENV !== 'production'
|
|
|
|
})
|