-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Update available!
-
- Powered by Slipstream - v{{ usePage().props.version.current }}
+
+
+
+
+
+
+
+
+ Update available!
+
+ Powered by Slipstream - v{{ usePage().props.version.current }}
+
-
+
diff --git a/resources/js/Pages/Dashboard.vue b/resources/js/Pages/Dashboard.vue
index a00f287..6685617 100644
--- a/resources/js/Pages/Dashboard.vue
+++ b/resources/js/Pages/Dashboard.vue
@@ -1,10 +1,10 @@
-
-
-
-
-
-
-
- Loading more...
-
-
-
+
+
+
+
+
+
+
+ Loading more...
+
+
+
-
+
diff --git a/resources/js/Pages/Install/Index.vue b/resources/js/Pages/Install/Index.vue
index 1f7bc2b..43076b1 100644
--- a/resources/js/Pages/Install/Index.vue
+++ b/resources/js/Pages/Install/Index.vue
@@ -1,9 +1,9 @@
-
-
-
+
+
+
diff --git a/resources/js/app.js b/resources/js/app.js
index afc17fa..ba4d12c 100644
--- a/resources/js/app.js
+++ b/resources/js/app.js
@@ -1,11 +1,11 @@
import './bootstrap'
import '../css/app.css'
-import {createApp, h} from 'vue'
-import {createInertiaApp} from '@inertiajs/vue3'
-import {resolvePageComponent} from 'laravel-vite-plugin/inertia-helpers'
-import {ZiggyVue} from '../../vendor/tightenco/ziggy/dist/vue.m'
-import {SnackbarService} from 'vue3-snackbar'
+import { createApp, h } from 'vue'
+import { createInertiaApp } from '@inertiajs/vue3'
+import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers'
+import { ZiggyVue } from '../../vendor/tightenco/ziggy/dist/vue.m'
+import { SnackbarService } from 'vue3-snackbar'
import 'vue3-snackbar/styles'
import FloatingVue from 'floating-vue'
import 'floating-vue/dist/style.css'
@@ -13,28 +13,28 @@ import 'floating-vue/dist/style.css'
const appName = window.document.getElementsByTagName('title')[0]?.innerText || 'Laravel'
createInertiaApp({
- title: (title) => `${title} - ${appName}`,
- resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue')),
- setup({ el, App, props, plugin }) {
- return createApp({ render: () => h(App, props) })
- .use(plugin)
- .use(ZiggyVue, Ziggy)
- .use(SnackbarService)
- .use(FloatingVue,{
- themes: {
- tooltip: {
- delay: {
- show:100,
- delay:100,
- },
- },
- },
- })
- .mount(el)
- },
- progress: {
- delay: 100,
- color: '#0073C7',
- showSpinner: true,
- },
+ title: (title) => `${title} - ${appName}`,
+ resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue')),
+ setup({ el, App, props, plugin }) {
+ return createApp({ render: () => h(App, props) })
+ .use(plugin)
+ .use(ZiggyVue, Ziggy)
+ .use(SnackbarService)
+ .use(FloatingVue, {
+ themes: {
+ tooltip: {
+ delay: {
+ show: 100,
+ delay: 100,
+ },
+ },
+ },
+ })
+ .mount(el)
+ },
+ progress: {
+ delay: 100,
+ color: '#0073C7',
+ showSpinner: true,
+ },
})
diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js
index 40e57e7..510a6bb 100644
--- a/resources/js/bootstrap.js
+++ b/resources/js/bootstrap.js
@@ -6,7 +6,6 @@
import axios from 'axios'
import Echo from 'laravel-echo'
-import {SnackbarService} from 'vue3-snackbar'
import 'vue3-snackbar/styles'
import Pusher from 'pusher-js'
@@ -24,14 +23,14 @@ window.Pusher = Pusher
window.Echo = new Echo({
- broadcaster: 'pusher',
- key: import.meta.env.VITE_PUSHER_APP_KEY ?? 'app-key',
- cluster: import.meta.env.VITE_PUSHER_APP_CLUSTER ?? 'mt1',
- wsHost: `socket.${window.location.host}`,
- wsPort: 80,
- wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443,
- forceTLS: false,
- enabledTransports: ['ws'],
+ broadcaster: 'pusher',
+ key: import.meta.env.VITE_PUSHER_APP_KEY ?? 'app-key',
+ cluster: import.meta.env.VITE_PUSHER_APP_CLUSTER ?? 'mt1',
+ wsHost: `socket.${window.location.host}`,
+ wsPort: 80,
+ wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443,
+ forceTLS: false,
+ enabledTransports: ['ws'],
})
const ws = window.Echo.connector.pusher.connection
@@ -39,12 +38,12 @@ const ws = window.Echo.connector.pusher.connection
ws.bind('connected', () => {
- console.log('Websocket connected!')
+ console.log('Websocket connected!')
})
ws.bind('unavailable', () => {
- console.error('Websocket connection lost')
- $snackbar.add({
- type: 'warning',
- text: 'Connection lost...',
- })
+ console.error('Websocket connection lost')
+ $snackbar.add({
+ type: 'warning',
+ text: 'Connection lost...',
+ })
})