samdesgn's avatar

pagination mount laravel

hello, so i have a problem with livewire laravel.

I pass a value to my Livewire component using a controller.

@livewire ('posts', ['posts' => $ posts], key ($ posts-> id))

I just want to do a paging because the post variable can either send all the posts of the table or that of a user.

how to do it please?

0 likes
1 reply

Please or to participate in this conversation.