This commit is contained in:
2019-04-24 23:25:15 +00:00
parent ea2bdcef48
commit 221840e6c0
3 changed files with 36 additions and 27 deletions

View File

@@ -20,6 +20,7 @@ import locale from "./api/locale";
import gzapi from "./api/gzapi";
import gzform from "./api/gzform";
import roles from "./api/authorizationroles";
import gztype from "./api/ayatype";
import "@/assets/css/main.css";
import gzdateandtimepicker from "./components/gzdateandtimepicker.vue";
@@ -28,6 +29,7 @@ import gzdateandtimepicker from "./components/gzdateandtimepicker.vue";
// LIBS AND GLOBAL ITEMS
// (https://medium.com/js-dojo/use-any-javascript-library-with-vue-js-3f7e2a4974a8)
//
Object.defineProperty(Vue.prototype, "$gztype", { value: gztype });
Object.defineProperty(Vue.prototype, "$gzrole", { value: roles });
Object.defineProperty(Vue.prototype, "$gzevent", { value: gzeventbus });
Object.defineProperty(Vue.prototype, "$gzmenu", { value: gzmenu });