im newbie here, I have a simple question that keeps me up all night,so is it posible to double render in livewire like a normal controller?
like this
//Home Controller
public function index(){
return view(home.index);
}
public function dragonCat(){
return view(blah.index);
}
CodePudding user response:
Not in the way that you're showing (using separate methods), no. And that's also not how Livewire is meant to work. However, if there's a reason why you would want that, perhaps I can give you a suggestion on a better approach.