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-31 20:14:14 +00:00
|
|
|
import charts from '@/store/modules/charts'
|
|
|
|
import favorites from '@/store/modules/favorites'
|
2020-09-15 16:11:29 +00:00
|
|
|
import about from '@/store/modules/about'
|
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,
|
2020-08-31 20:14:14 +00:00
|
|
|
spotifyCredentials,
|
|
|
|
charts,
|
2020-09-15 16:11:29 +00:00
|
|
|
favorites,
|
|
|
|
about
|
2020-08-22 22:39:31 +00:00
|
|
|
},
|
|
|
|
strict: process.env.NODE_ENV !== 'production'
|
|
|
|
})
|