Mercurial > gemma
view client/src/store.js @ 23:c1ef0be0ae3d
Improve build chain
In order to improve the build, there is the need to include external
asset during build time.
The variable `VUE_APP_VENDOR_IMG_PATH` defines the source folder of
the vendor images.
The destination folder is /web/img/.
To improve readability comments to .env.sample variables were added.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 21 Jun 2018 13:39:01 +0200 |
parents | 88d0d60924cf |
children | 0fd572582ab8 |
line wrap: on
line source
import Vue from "vue"; import Vuex from "vuex"; import Application from "./stores/application"; import i18n from "./stores/language"; import user from "./stores/user"; Vue.use(Vuex); export default new Vuex.Store({ modules: { application: Application, i18n: i18n, user: user } });