Skip to content
Advertisement

How to fix laravel 8 UI paginate problem?

I had a problem while trying out the recently released laravel 8, I’m trying to find out what the changes are and how it works. When I did that I had a problem with the paginate laravel 8 UI getting messy and somehow it happened. Is there anyone who can help me? or have experienced the same thing?

Like this the view I got in laravel 8 Laravel 8 paginate UI

and this is the code I use “Index.blade.php”

JavaScript

the code I use for PostController

JavaScript

Advertisement

Answer

I was having same issue.

Seems like in Laravel 8 more options were added how pagination can be displayed.

This instruction https://laravel.com/docs/8.x/pagination#using-bootstrap should help.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement