Hi devs, last day I was trying to configure my Nuxt.js client so it can consume public and private channels from my backend which is built with Lar...
For further actions, you may consider blocking this person and/or reporting abuse
how to listen to the event in NUXT (SSR Mode). can you give one example? Thanks in Advance
I am afraid I haven't use the SSR Mode with nuxt, or at least I didn't know. But please share your resolution when you got it!
Yeah, I found Solutions for both modes.
follow my Repo.
Nuxt SSR mode: github.com/mankarsandesh/nuxt-sock...
Nuxt SPA mode: github.com/mankarsandesh/nuxt-sock...
Thanks
Amazing!
@mankarsandesh thanks for sharing! by chance could you share the laravel side of this? An end to end example would be really helpful to me.
For backend channeling authentication you would have to specify that you are using Laravel sanctum like this, given I am using the api prefix I put this in routes/api.php:
And taking this route as example it should works:
I hope this is the answer you were looking for
@eichgi I’ll have to give it a go - thanks for responding!
hi
where can i find the list of all configuration options of laravel echo?
Hi Mohammad, in Laravel Docs oficial site you can find basically all the configuration options: laravel.com/docs/8.x/broadcasting#...
Maybe you can find more options inspecting the library itself, sadly I don't know where else to search.
is necessary a file of laravel-echo-server? thanks