dataease-dm/frontend/src/store/index.js

27 lines
532 B
JavaScript
Raw Normal View History

2021-03-03 15:06:52 +08:00
import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import permission from './modules/permission'
import dataset from './modules/dataset'
import chart from './modules/chart'
2021-03-04 14:58:52 +08:00
import request from './modules/request'
2021-03-03 15:06:52 +08:00
Vue.use(Vuex)
const store = new Vuex.Store({
modules: {
app,
settings,
user,
permission,
dataset,
2021-03-04 14:58:52 +08:00
chart,
request
2021-03-03 15:06:52 +08:00
},
getters
})
export default store