index.js 290 B

1234567891011121314151617181920212223
  1. import Vue from 'vue'
  2. import Vuex from 'vuex'
  3. import createPersistedState from 'vuex-persistedstate'
  4. Vue.use(Vuex)
  5. export default new Vuex.Store({
  6. state: {
  7. },
  8. getters: {
  9. },
  10. mutations: {
  11. },
  12. actions: {
  13. },
  14. modules: {
  15. },
  16. plugins:[createPersistedState()]
  17. })