deemixer/src/store/index.js

30 lines
687 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'
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-09-17 20:43:52 +00:00
import login from '@/store/modules/login'
// Load Vuex
Vue.use(Vuex)
// Create store
export default new Vuex.Store({
modules: {
2020-08-24 19:30:54 +00:00
home,
settings,
defaultSettings,
spotifyCredentials,
charts,
2020-09-15 16:11:29 +00:00
favorites,
2020-09-17 20:43:52 +00:00
about,
login
},
strict: process.env.NODE_ENV !== 'production'
})