view client/src/store.js @ 160:061209505028

feat: Login and logout with session restoration implemented Login information stored in local storage for restoration after browser restart. If a non expired session is found, it is restored before entering the main area. Username and logout are located in the lower sidebar.
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 04 Jul 2018 17:21:10 +0200
parents 0fd572582ab8
children aee175e3f82c
line wrap: on
line source

import Vue from "vue";
import Vuex from "vuex";
import Application from "./stores/application";
import user from "./stores/user";

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    application: Application,
    user: user
  }
});