Spookie/assets/js/app.js

61 lines
1.3 KiB
JavaScript
Raw Normal View History

2021-06-01 18:48:20 +02:00
// assets/js/app.js
2022-05-03 14:52:04 +02:00
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");
2021-06-01 18:48:20 +02:00
2022-05-03 14:52:04 +02:00
/*
require('@fortawesome/fontawesome-free/css/all.min.css');
require('@fortawesome/fontawesome-free/js/all.js');
*/
2021-06-01 18:48:20 +02:00
2022-04-11 16:05:12 +02:00
// CKEditor
//require '@'
2022-05-03 14:52:04 +02:00
import "../styles/ckeditor.css"
2022-04-11 16:05:12 +02:00
2022-05-03 14:52:04 +02:00
import Vue from "vue"
import { BootstrapVue, IconsPlugin, NavbarPlugin } from "bootstrap-vue"
import VueRouter from 'vue-router'
2022-04-11 16:05:12 +02:00
2022-05-03 14:52:04 +02:00
import router from '@/router'
import MainPage from "@/pages/main"
2022-04-11 16:05:12 +02:00
2022-05-03 14:52:04 +02:00
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")
2022-04-11 16:05:12 +02:00