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 { createPinia } from 'pinia'
|
2022-05-12 19:29:14 +02:00
|
|
|
|
2022-05-23 16:25:55 +02:00
|
|
|
//import { QuillEditor } from '@vueup/vue-quill'
|
|
|
|
//import '@vueup/vue-quill/dist/vue-quill.snow.css'
|
|
|
|
//import '@vueup/vue-quill/dist/vue-quill.bubble.css'
|
2022-05-12 19:29:14 +02:00
|
|
|
|
2022-05-23 16:25:55 +02:00
|
|
|
import router from '@/router'
|
2022-05-11 14:48:04 +02:00
|
|
|
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)
|
2022-05-23 16:25:55 +02:00
|
|
|
// .component('QuillEditor', QuillEditor)
|
2022-05-11 14:48:04 +02:00
|
|
|
.use(createPinia())
|
2022-05-23 16:25:55 +02:00
|
|
|
.use(router)
|
2022-05-11 14:48:04 +02:00
|
|
|
.mount('#app')
|