Mercurial > gemma
view client/src/stores/application.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 | e7d5383bc358 |
line wrap: on
line source
const Application = { namespaced: true, state: { appTitle: process.env.VUE_APP_TITLE, secondaryLogo: process.env.VUE_APP_SECONDARY_LOGO_URL }, getters: { appTitle: state => { return state.appTitle; }, secondaryLogo: state => { return state.secondaryLogo; } }, mutations: {}, actions: {} }; export default Application;