question at 5:00, does create action returns in response only turbo-frame tag with content or full page body from server?
@TonyMessias2 жыл бұрын
In the Laravel package, we return the entire page. The Rails version has a little more control over the rendered HTML at the template level, so they are able to return only the frame, I believe.
@josephprosper64933 жыл бұрын
Thank you for great tutorial. Its possible to use hotwire with livewire?
@TonyMessias3 жыл бұрын
Yes. There are instructions in the package documentation. The example mentions the two bridges you will need, one for alpine and another for livewire: github.com/tonysm/turbo-laravel The companion app even has a "Livewire integration" page, where I trigger turbo stream updates from a livewire component: github.com/tonysm/turbo-demo-app
@vainglories7512 Жыл бұрын
Why do you need to combine both?
@abrahamkim71343 жыл бұрын
YOU ARE AWESOME!
@SEOng-gs7lj2 жыл бұрын
is the basic camp repo available? not clear about your naming of _form.blade.php, is edit.blade.php using it too?
@TonyMessias2 жыл бұрын
That example is not available. Yes, both the create.blade.php and the edit.blade.php views use the same _form.blade.php partial