Skip to content

Conversation

@LaurinStapf
Copy link
Contributor

Changes

The <script> tag is now rendered via Blade::render() and added to the json response returned by the /embed route.
On the client side, injectLivewire() consumes this tag and injects the script into the page.

Since the script is delivered through the embed payload, the helpers getLivewireAssetUri() and getLivewireUpdateUri() become obsolete from my point of view.

@LaurinStapf
Copy link
Contributor Author

@PhiloNL have you had a chance to look into it yet?
It would be very useful to be able to upgrade the projects which are using wire-extender to Livewire v4.

@PhiloNL PhiloNL changed the base branch from 1.x to 2.x February 9, 2026 20:05
@PhiloNL PhiloNL merged commit 691c6d0 into wire-elements:2.x Feb 9, 2026
@PhiloNL
Copy link
Contributor

PhiloNL commented Feb 9, 2026

Thanks! 😄

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