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.
13 lines
350 B
13 lines
350 B
import Vue from 'vue';
|
|
import Vuex from 'vuex';
|
|
import user from './modules/user/index';
|
|
import project from './modules/project/index';
|
|
|
|
|
|
Vue.use(Vuex);
|
|
const store = new Vuex.Store({
|
|
// modules:sessionStorage.getItem('state') ? JSON.parse(sessionStorage.getItem('state')): { user, project }
|
|
modules: { user, project },
|
|
});
|
|
|
|
export default store;
|
|
|