github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/ui/src/store/index.js (about)

     1  import Vue from 'vue'
     2  import Vuex from 'vuex'
     3  
     4  import app from './modules/app'
     5  import mock from './modules/mock'
     6  import getters from './getters'
     7  
     8  Vue.use(Vuex)
     9  
    10  export default new Vuex.Store({
    11    modules: {
    12      app,mock
    13    },
    14    state: {
    15  
    16    },
    17    mutations: {
    18  
    19    },
    20    actions: {
    21  
    22    },
    23    getters
    24  })