2020-02-18 07:57:00 +00:00
|
|
|
import Vue from "vue";
|
|
|
|
import Buefy from "buefy";
|
|
|
|
import Component from "vue-class-component";
|
|
|
|
import VueScrollTo from "vue-scrollto";
|
|
|
|
import VueMeta from "vue-meta";
|
|
|
|
import VTooltip from "v-tooltip";
|
2021-10-10 14:24:12 +00:00
|
|
|
import VueAnnouncer from "@vue-a11y/announcer";
|
|
|
|
import VueSkipTo from "@vue-a11y/skip-to";
|
2020-02-18 07:57:00 +00:00
|
|
|
import App from "./App.vue";
|
|
|
|
import router from "./router";
|
|
|
|
import { NotifierPlugin } from "./plugins/notifier";
|
|
|
|
import filters from "./filters";
|
|
|
|
import { i18n } from "./utils/i18n";
|
|
|
|
import apolloProvider from "./vue-apollo";
|
2020-12-11 14:27:31 +00:00
|
|
|
import "./registerServiceWorker";
|
2018-12-21 14:41:34 +00:00
|
|
|
|
2018-01-09 16:52:26 +00:00
|
|
|
Vue.config.productionTip = false;
|
|
|
|
|
2019-06-17 15:15:27 +00:00
|
|
|
Vue.use(Buefy);
|
|
|
|
Vue.use(NotifierPlugin);
|
2019-09-09 07:31:08 +00:00
|
|
|
Vue.use(filters);
|
2019-10-10 14:47:38 +00:00
|
|
|
Vue.use(VueMeta);
|
2019-11-15 17:36:47 +00:00
|
|
|
Vue.use(VueScrollTo);
|
2020-02-18 07:57:00 +00:00
|
|
|
Vue.use(VTooltip);
|
2021-10-10 14:24:12 +00:00
|
|
|
Vue.use(VueAnnouncer);
|
|
|
|
Vue.use(VueSkipTo);
|
2018-12-21 14:41:34 +00:00
|
|
|
|
2019-10-09 15:54:35 +00:00
|
|
|
// Register the router hooks with their names
|
|
|
|
Component.registerHooks([
|
2020-02-18 07:57:00 +00:00
|
|
|
"beforeRouteEnter",
|
|
|
|
"beforeRouteLeave",
|
|
|
|
"beforeRouteUpdate", // for vue-router 2.2+
|
2019-10-09 15:54:35 +00:00
|
|
|
]);
|
|
|
|
|
2018-01-09 16:52:26 +00:00
|
|
|
/* eslint-disable no-new */
|
|
|
|
new Vue({
|
|
|
|
router,
|
2019-03-22 09:57:14 +00:00
|
|
|
apolloProvider,
|
2020-02-18 07:57:00 +00:00
|
|
|
el: "#app",
|
|
|
|
template: "<App/>",
|
2018-01-09 16:52:26 +00:00
|
|
|
components: { App },
|
2021-01-26 15:39:50 +00:00
|
|
|
render: (h) => h(App),
|
2019-09-12 09:34:01 +00:00
|
|
|
i18n,
|
2018-01-09 16:52:26 +00:00
|
|
|
});
|