61 lines
1.3 KiB
JavaScript
61 lines
1.3 KiB
JavaScript
// assets/js/app.js
|
|
|
|
globalThis.__VUE_OPTIONS_API__ = true;
|
|
globalThis.__VUE_PROD_DEVTOOLS__ = true;
|
|
|
|
// Matomo
|
|
let _paq = window._paq = window._paq || [];
|
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
_paq.push(["trackPageView"]);
|
|
_paq.push(["enableLinkTracking"]);
|
|
(function () {
|
|
const u = "https://analytics.24unix.net/";
|
|
_paq.push(["setTrackerUrl", u + "matomo.php"]);
|
|
_paq.push(["setSiteId", "1"]);
|
|
const d = document, g = d.createElement("script"), s = d.getElementsByTagName("script")[0];
|
|
g.async = true;
|
|
g.src = u + "matomo.js";
|
|
s.parentNode.insertBefore(g, s);
|
|
})();
|
|
// End Matomo Code
|
|
|
|
|
|
import "../styles/app.scss";
|
|
|
|
require("fork-awesome/scss/fork-awesome.scss");
|
|
|
|
/*
|
|
require('@fortawesome/fontawesome-free/css/all.min.css');
|
|
require('@fortawesome/fontawesome-free/js/all.js');
|
|
*/
|
|
|
|
// CKEditor
|
|
//require '@'
|
|
import "../styles/ckeditor.css"
|
|
|
|
|
|
import Vue from "vue"
|
|
import { BootstrapVue, IconsPlugin, NavbarPlugin } from "bootstrap-vue"
|
|
import VueRouter from 'vue-router'
|
|
|
|
import router from '@/router'
|
|
import MainPage from "@/pages/main"
|
|
|
|
Vue.use(BootstrapVue)
|
|
Vue.use(VueRouter)
|
|
Vue.use(IconsPlugin)
|
|
Vue.use(NavbarPlugin)
|
|
|
|
Vue.config.productionTip = false;
|
|
|
|
|
|
new Vue({
|
|
router,
|
|
render: (h) => h(MainPage)
|
|
})
|
|
.$mount("#app")
|
|
|
|
|
|
|
|
|