Hello everyone hope you are doing okay!
So i just have a very simple button with wire:click in a component and it’s not working. I can’t see why i tried everything.
<button wire:click="test" class="flex items-center px-4 py-2 text-blue-500 border-2 border-blue-500 rounded-full shadow hover:bg-blue-500 hover:text-white">
Test
</button>
And that’s the function in the component
public function test()
{
dd("test");
}
Thank you!