RoyGoode's avatar

how to disable livewire tailwind pagination in laravel blades?

.. how to use bootstrap in blades not in components!

0 likes
4 replies
alexvolley's avatar
Level 1

Referencing the Laravel 8 docs: https://laravel.com/docs/8.x/upgrade#pagination

The paginator now uses the Tailwind CSS framework for its default styling. In order to keep using Bootstrap, you should add the following method call to the boot method of your application's AppServiceProvider:

use Illuminate\Pagination\Paginator;

Paginator::useBootstrap();

I hope this helps.

1 like
RoyGoode's avatar

thank you! I did not realize that Laravel 8 was using this!

RoyGoode's avatar

yes,i'm using livewire and i know that trait for pagination, also i use the blades for admin panel.

Please or to participate in this conversation.