Spookie/assets/js/index.js

55 lines
1.4 KiB
JavaScript
Raw Normal View History

2022-05-06 13:52:18 +02:00
// assets/js/index.js
2022-05-11 14:48:04 +02:00
import '../styles/app.scss'
2022-05-06 13:52:18 +02:00
// CKEditor
2022-05-11 14:48:04 +02:00
import '../styles/ckeditor.css'
import 'fork-awesome/scss/fork-awesome.scss'
import { createApp } from 'vue'
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap/dist/js/bootstrap'
import PrimeVue from 'primevue/config'
import 'primevue/resources/primevue.min.css'
//import 'primeicons/primeicons.css'
import 'primevue/resources/themes/lara-dark-blue/theme.css'
import { createPinia } from 'pinia'
import Router from '@/router'
import AppLink from '@/components/AppLink'
import App from '@/App'
2022-05-06 13:52:18 +02:00
/* eslint-disable */
2022-05-11 14:48:04 +02:00
globalThis.__VUE_OPTIONS_API__ = true
globalThis.__VUE_PROD_DEVTOOLS__ = true
2022-05-06 13:52:18 +02:00
// Matomo
2022-05-11 14:48:04 +02:00
const _paq = window._paq = window._paq || []
2022-05-06 13:52:18 +02:00
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
2022-05-11 14:48:04 +02:00
_paq.push(['trackPageView'])
2022-05-06 13:52:18 +02:00
_paq.push(['enableLinkTracking']);
(function () {
2022-05-11 14:48:04 +02:00
const u = 'https://analytics.24unix.net/'
_paq.push(['setTrackerUrl', `${u}matomo.php`])
_paq.push(['setSiteId', '1'])
const d = document
const g = d.createElement('script')
const
s = d.getElementsByTagName('script')[0]
g.async = true
g.src = `${u}matomo.js`
s.parentNode.insertBefore(g, s)
}())
// End Matomo Code
2022-05-06 13:52:18 +02:00
/* eslint-enable */
2022-05-11 14:48:04 +02:00
//globalThis.__VUE_OPTIONS_API__ = true;
//globalThis.__VUE_PROD_DEVTOOLS__ = true;
2022-05-06 13:52:18 +02:00
2022-05-11 14:48:04 +02:00
createApp(App)
.component('AppLink', AppLink)
.use(createPinia())
.use(Router)
.use(PrimeVue)
.mount('#app')