This commit is contained in:
2019-03-06 20:09:04 +00:00
parent 0aa3c29a87
commit 0242b5ba03
3 changed files with 72 additions and 36 deletions

View File

@@ -11,20 +11,22 @@ import errorHandler from "./api/errorhandler";
import NProgress from "nprogress";
import "nprogress/nprogress.css";
import dayjs from "dayjs";
import locale from "./api/locale";
import gzdateandtimepicker from "./components/gzdateandtimepicker.vue";
/////////////////////////////////////////////////////////////////
// LIBS AND GLOBAL STUFF
// LIBS AND GLOBAL ITEMS
// (https://medium.com/js-dojo/use-any-javascript-library-with-vue-js-3f7e2a4974a8)
//
Object.defineProperty(Vue.prototype, "$dayjs", { value: dayjs });
Object.defineProperty(Vue.prototype, "$gzlocale", { value: locale });
/////////////////////////////////////////////////////////////////
// FORM VALIDATION
//
import VeeValidate from "vee-validate";
Vue.use(VeeValidate);
Vue.config.productionTip = false;
//Vue.config.productionTip = false;
/////////////////////////////////////////////////////////////////
// ERROR HANDLING