#dispatch event from outside livewire

1 messages · Page 1 of 1 (latest)

reef nest
#

Heyyyy quick question i want to dispatch event from a api route like this
Livewire::dispatch('new-notification', userId: $booking->reservation->user->id);
but it give me this error Livewire\LivewireManager::dispatch() so it is really possible to send event oustide livewire ?

tranquil widget