yh-uniapp/store/index.js
2024-12-06 14:01:20 +08:00

18 lines
274 B
JavaScript

import Vue from 'vue'
import Vuex from 'vuex'
import user from '@/store/modules/user'
import env from '@/store/modules/env'
import getters from './getters'
Vue.use(Vuex)
const store = new Vuex.Store({
modules: {
user,
env
},
getters
})
export default store