Nov 8, 2024
0
Level 10
Livewire and Volt component alias
I'm using livevire and volt making components in blade file.
I'd like to alias a component using Livewire::component('alias', ComponentClass)
I suppose this isn't possibile when component class is inside blade (using volt) since class is anonymous
Do I create a component class and leave volt or is there another way to do it?
Please or to participate in this conversation.