Skip to content

Install Broadcasting Command Fix for Livewire Starter Kit #55774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 19, 2025

Conversation

joshcirre
Copy link
Contributor

When playing around with the new useEcho hook for the starter kits, I realized that the Broadcasting Install command no longer worked seamlessly for the Livewire starter kit. I assume this is because there is no more bootstrap.js for this starter kit and no longer needed for most Livewire applications.

That being said, I admittedly spent more time than I should have figuring out I did not have Echo proper instantiated after installing the Broadcasting command, so this PR is set up to add a check and add the echo file import for app.js if and only if bootstrap.js is not found.

This means the install:broadcasting command is the only thing needed to run for any starter kit.

@taylorotwell taylorotwell merged commit d3376e1 into laravel:12.x May 19, 2025
7 checks passed
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.

2 participants