Added sockets for notifications
This commit is contained in:
@@ -6,9 +6,15 @@ import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';
|
||||
import { ZiggyVue } from '../../vendor/tightenco/ziggy';
|
||||
import { createApp, h, DefineComponent } from 'vue';
|
||||
import vuetify from './plugins/vuetify';
|
||||
import { configureEcho } from '@laravel/echo-vue';
|
||||
const pinia = createPinia();
|
||||
configureEcho({
|
||||
broadcaster: 'reverb',
|
||||
});
|
||||
import '@mdi/font/css/materialdesignicons.css'
|
||||
import 'flag-icons/css/flag-icons.min.css'
|
||||
import VueApexCharts from 'vue3-apexcharts'
|
||||
import {createPinia} from "pinia";
|
||||
|
||||
|
||||
const appName = document.querySelector('meta[name="app-name"]')?.getAttribute('content') || 'Laravel';
|
||||
@@ -25,6 +31,7 @@ createInertiaApp({
|
||||
.use(plugin)
|
||||
.use(ZiggyVue)
|
||||
.use(vuetify)
|
||||
.use(pinia)
|
||||
.use(VueApexCharts)
|
||||
.mount(el);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user