makro's avatar
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?

0 likes
0 replies

Please or to participate in this conversation.