⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Add support for Livewire v4#46

Open
LaurinStapf wants to merge 3 commits intowire-elements:mainfrom
LaurinStapf:main
Open

Add support for Livewire v4#46
LaurinStapf wants to merge 3 commits intowire-elements:mainfrom
LaurinStapf:main

Conversation

@LaurinStapf
Copy link

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.

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