deemixer/src/store/index.js

22 lines
481 B
JavaScript
Raw Normal View History

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'
import defaultSettings from '@/store/modules/defaultSettings'
import spotifyCredentials from '@/store/modules/spotifyCredentials'
// Load Vuex
Vue.use(Vuex)
// Create store
export default new Vuex.Store({
modules: {
2020-08-24 19:30:54 +00:00
home,
settings,
defaultSettings,
credentials: spotifyCredentials
},
strict: process.env.NODE_ENV !== 'production'
})