Change the pagination in posts.links

herrucules - 3 months ago

Hi, Could you point me out how to loop on each posts.links rather then just doing {{posts.links|raw}} Or if there's any way to set the classes on each li or anchor tag inside of this links.

Thanks.

herrucules - 3 months ago

oh i've already found it.. https://laravel.com/docs/5.4/pagination#paginating-eloquent-results sorry, I'm still new to Laravel, so still much to dig down.