Skip to content

Load Echo from the frontend entry point in the Laravel WebSockets docs - #2250

Merged
mnapoli merged 1 commit into
masterfrom
laravel-websockets-import-echo
Nov 7, 2026
Merged

mnapoli merged 1 commit into
masterfrom
laravel-websockets-import-echo

Conversation

@mnapoli

@mnapoli mnapoli commented Nov 7, 2026

Copy link
Copy Markdown
Member

The guide creates resources/js/echo.js but never imports it. On a fresh Laravel 13 application, app.js is empty and there is no bootstrap.js, so window.Echo stays undefined and nothing connects. Found while following the published guide on the sandbox.

@mnapoli
mnapoli merged commit ae37577 into master Nov 7, 2026
9 checks passed
@mnapoli
mnapoli deleted the laravel-websockets-import-echo branch November 7, 2026 00:14

This branch was successfully deployed

1 active deployment
preview — 6ae443a7 Deployed Nov 7, 2026 by mnapoli via deploy #46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant