Closed DanielRondonGarcia closed 1 year ago
@DanielRondonGarcia Maybe the livewire component doesn't support the slot things. So, you can use props instead of slots. Please, check these resources.
Created a very simple package that does that: https://github.com/titonova/x-livewire
You can now do
<x-livewire _="alert">
Alert message
</x-livewire>
I'm trying to use slots in a Livewire component inside a Laravel module, but it's giving me the following error:
The component code is as follows:
And in the view I am using the component as follows:
Has anyone had a similar problem or knows how to fix it?