import Vue from 'vue'
import Vuex from 'vuex'

import getters from './getters.js'
import user from './models/user.js'
import area from './models/area.js'
import auth from './models/auth.js'
import news from './models/news.js'
import vip from './models/vip.js'
import face from './models/face.js'
import authentication from './models/authentication.js'

Vue.use(Vuex)
const store = new Vuex.Store({
	modules: {
		user,
		area,
		auth,
		news,
		vip,
		face,
		authentication
	},
	getters,
})

export default store
