In this article, we'll get real-time broadcasting working between a Nuxt SPA and Laravel using Laravel Reverb and Echo.
For whatever reason (usually CORS), you'll need to change the host and port of your local Nuxt development server at some point.
Setting up Websockets with a separate API and client can be pretty tricky. By the end of this article, you'll be able to listen for realtime events fired from your Laravel app, in Nuxt.
If you've used Nuxt before, you're probably using the `asyncData` method in your pages to pre-fetch content from your API to be server-side rendered.