Mercurial > gemma
annotate client/src/main.js @ 150:44a7e27a0816
Added missing translation for loginerror
Loginerror is now translatable
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 02 Jul 2018 12:54:07 +0200 |
parents | 0fd572582ab8 |
children | 3d9341f6da4e |
rev | line source |
---|---|
3 | 1 import Vue from "vue"; |
2 import App from "./App.vue"; | |
3 import router from "./router"; | |
4 import store from "./store"; | |
141 | 5 import GetTextPlugin from "vue-gettext"; |
6 import translations from "./translations.json"; | |
7 | |
8 const defaultLanguage = process.env.VUE_APP_DEFAULT_LANGUAGE || "de_DE"; | |
9 | |
10 Vue.use(GetTextPlugin, { | |
11 translations: translations, | |
12 availableLanguages: { | |
13 en_GB: "British English", | |
14 de_DE: "Deutsch" | |
15 }, | |
16 defaultLanguage: defaultLanguage | |
17 }); | |
18 | |
3 | 19 import "../node_modules/bootstrap/dist/css/bootstrap.min.css"; |
11
e0b5dd98665e
current frontend with asset server configured
Thomas Junk <thomas.junk@intevation.de>
parents:
3
diff
changeset
|
20 import "../node_modules/font-awesome/css/font-awesome.min.css"; |
30 | 21 import "../node_modules/ol/ol.css"; |
3 | 22 |
23 Vue.config.productionTip = false; | |
24 | |
25 new Vue({ | |
26 router, | |
27 store, | |
28 render: h => h(App) | |
29 }).$mount("#app"); |