Mercurial > gemma
changeset 880:aa2acb942e55
refac: reduce bundlesize
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 01 Oct 2018 16:42:33 +0200 |
parents | 52fe3e20f750 |
children | 55fb73a3ebf7 |
files | client/src/logs/logs.vue client/src/main.js |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/logs/logs.vue Mon Oct 01 12:01:46 2018 +0200 +++ b/client/src/logs/logs.vue Mon Oct 01 16:42:33 2018 +0200 @@ -83,6 +83,10 @@ <script> import { mapGetters } from "vuex"; import { HTTP } from "../application/lib/http.js"; +import "../../node_modules/highlight.js/styles/paraiso-dark.css"; +import Vue from "vue"; +import VueHighlightJS from "vue-highlightjs"; +Vue.use(VueHighlightJS); const ACCESSLOG = "accesslog"; const ERRORLOG = "errorlog";
--- a/client/src/main.js Mon Oct 01 12:01:46 2018 +0200 +++ b/client/src/main.js Mon Oct 01 16:42:33 2018 +0200 @@ -13,8 +13,6 @@ import "../node_modules/cxlt-vue2-toastr/dist/css/cxlt-vue2-toastr.css"; import "../node_modules/highlight.js/styles/paraiso-dark.css"; import VTooltip from "v-tooltip"; -import VueHighlightJS from "vue-highlightjs"; -Vue.use(VueHighlightJS); Vue.use(VTooltip);