Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

gh / dj-data-view

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dj-data-view
  • src
  • store
  • index.js
  • 前端's avatar
    commit:项目初始化 · 6eae7ffd
    前端 committed Oct 21, 2022
    6eae7ffd
index.js 389 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
// import createPersistedState from "vuex-persistedstate"

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app
  },
  getters
  // plugins: [createPersistedState({
  //   //指定存储模式
  //   storage: window.sessionStorage
  // })]
})

export default store