Add documentation
This commit is contained in:
@@ -6,7 +6,6 @@ import { createInertiaApp, usePage } from '@inertiajs/inertia-vue3';
|
||||
import { InertiaProgress } from '@inertiajs/progress';
|
||||
import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';
|
||||
import { ZiggyVue } from '../../vendor/tightenco/ziggy/dist/vue.m';
|
||||
import VueMatomo from 'vue-matomo';
|
||||
import Themes from './themes'
|
||||
import Swal from 'sweetalert2';
|
||||
import { Inertia } from '@inertiajs/inertia';
|
||||
@@ -31,11 +30,6 @@ createInertiaApp({
|
||||
return createApp({ render: () => h(app, props) })
|
||||
.use(plugin)
|
||||
.use(ZiggyVue, Ziggy)
|
||||
.use(VueMatomo, {
|
||||
host: 'https://matomo.soson.eu/',
|
||||
trackerUrl: 'https://matomo.soson.eu/matomo.php',
|
||||
siteId: 3,
|
||||
})
|
||||
.mixin({
|
||||
methods: {
|
||||
...commons,
|
||||
@@ -61,8 +55,6 @@ const Toast = window.Toast = Swal.mixin({
|
||||
}
|
||||
})
|
||||
|
||||
window._paq.push(['trackPageView']); //To track pageview
|
||||
|
||||
Inertia.on('start', commons.authorization)
|
||||
Inertia.on('finish', commons.authorization)
|
||||
Inertia.on('finish', () => {
|
||||
|
||||
Reference in New Issue
Block a user