Skip to content
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

Livewire support #78

Open
bernhardh opened this issue Jul 28, 2021 · 1 comment
Open

Livewire support #78

bernhardh opened this issue Jul 28, 2021 · 1 comment

Comments

@bernhardh
Copy link

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.

@TerrePorter
Copy link
Owner

TerrePorter commented Aug 10, 2022

@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
        ])

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

No branches or pull requests

2 participants