StringBladeCompiler
StringBladeCompiler copied to clipboard
Livewire support
Not sure if this is intended, but livewire components aren't working.
{{ view(["template" => "<livewire:my-component />"], ["test" => "ABC"]) }}
I am getting "Undefined variable: _instance". Same livewire component inside a regular blade.php template is working.
@bernhardh I haven't gotten a chance to really dig into this yet.
Have you tried the blade helper syntax?
@livewire('image-gallery', [
'isOwner' => $isOwner,
'token' => $token
])