Mercurial > gemma
view client/src/store.js @ 1096:aa1f5daf6fc9
refac: centralized stores
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 30 Oct 2018 16:55:29 +0100 |
parents | 1ff8c072df18 |
children | 2c3d32322126 |
line wrap: on
line source
/* * This is Free Software under GNU Affero General Public License v >= 3.0 * without warranty, see README.md and license for details. * * SPDX-License-Identifier: AGPL-3.0-or-later * License-Filename: LICENSES/AGPL-3.0.txt * * Copyright (C) 2018 by via donau * – Österreichische Wasserstraßen-Gesellschaft mbH * Software engineering by Intevation GmbH * * Author(s): * Thomas Junk <thomas.junk@intevation.de> * Markus Kottländer <markus.kottlaender@intevation.de> */ import Vue from "vue"; import Vuex from "vuex"; import Application from "./store/application"; import user from "./store/user"; import usermanagement from "./store/usermanagement"; import mapstore from "./store/map"; import FairwayProfile from "./store/fairway"; import IdentifyStore from "./store/identify"; import Bottlenecks from "./store/bottlenecks"; Vue.use(Vuex); export default new Vuex.Store({ modules: { application: Application, fairwayprofile: FairwayProfile, identifystore: IdentifyStore, bottlenecks: Bottlenecks, mapstore: mapstore, user: user, usermanagement: usermanagement } });