I’m Using Spatie Permission With Laravel livewire, but when I check the role in livewire component it’s through middleware does not exist error
code sample
public function mount()
{
$this->middleware('permission:role-list');
}
I saw Livewire Authorization but I don’t know what I’m missing here?
any help I’ll be appreciated.