Hello,
Ive been trying to use the Laravel pagination {{ $brands->links() }} but it's not working.
I haven't found anything about pagination in your documentation as it is quite poor in explications.
Knowing that i want to use the pagination styles i find in the HTML theme
i bougth metronic template.. <script data-navigate-once src="{{ asset('assets/js/custom/apps/user-management/users/list/table.js') }}"></script> i added this script in blade file.i used wire:navigate but pagination not show of table.after reload show pagination
Hi Ali,
The default bootstrap pagination style can be set as the example here.
use Illuminate\Pagination\Paginator;
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Paginator::useBootstrapFive();
Paginator::useBootstrapFour();
}
Can anyone please help me with this ?
Hi Ali Silarbi,
Do you mean this code {{ $brands->links() }} doesn't work because of PHP errors? Or the style doesn't work?
Thanks
Hello,
I'm sorry for my late reply, but the styles don't work.
Thank you for your reply and help