annotate 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 |
rev |
line source |
3
|
1 import Vue from "vue";
|
|
2 import Vuex from "vuex";
|
|
3 import Application from "./stores/application";
|
|
4 import i18n from "./stores/language";
|
|
5 import user from "./stores/user";
|
|
6
|
|
7 Vue.use(Vuex);
|
|
8
|
|
9 export default new Vuex.Store({
|
|
10 modules: {
|
|
11 application: Application,
|
|
12 i18n: i18n,
|
|
13 user: user
|
|
14 }
|
|
15 });
|