You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
374 B
20 lines
374 B
import Vue from 'vue' |
|
import Vuex from "vuex"; |
|
Vue.use(Vuex) |
|
import createPersistedState from "vuex-persistedstate"; |
|
import moduleAuth from './module/auth.js'; |
|
import { |
|
localStorage |
|
} from "mp-storage" |
|
|
|
export default new Vuex.Store({ |
|
state: {}, |
|
mutations: {}, |
|
actions: {}, |
|
modules: { |
|
moduleAuth |
|
}, |
|
plugins: [createPersistedState({ |
|
storage: localStorage |
|
})] |
|
});
|
|
|