Hi,
I am using Laravel 9 with inertia & vite.Could you please send me how can I use Laravel echo in vuejs component to listen to an event?
I tried to uncomment bootstrap.js to use Laravel echo globally but with no luck.
unfortunately it's not working and the link you sent me for documentation is not found.
So in order to globally access echo do i need to reference echo and pusher in bootstrap.js or do i need to do something in app.js?
import { createApp, h } from 'vue'
import { createInertiaApp } from '@inertiajs/inertia-vue3'
import {resolvePageComponent} from 'laravel-vite-plugin/inertia-helpers';
import { InertiaProgress } from '@inertiajs/progress'