[Vuejs]-Filtering data with pagination

-1👍

To show more members in to your page just do this, edit this line:

public function fetchMembers()
{
    $members = Member::orderBy("id","ASC")->paginate(100);//<----- 100 per page
    return MemberResource::collection($members);
}

If the filter work’s properly, you have to paginate throughout all filtered objects, my solution just explain how you can expand your paginated list from 25 items to 100.

Leave a comment