Answer
By default Laravel 9 used Tailwind CSS. To use these views instead of the default Tailwind views, you may call the paginator's useBootstrap
method within the boot
method of your App\Providers\AppServiceProvider
class:
use Illuminate\Pagination\Paginator;
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Paginator::useBootstrapFive();
Paginator::useBootstrapFour();
}
0 comments:
Post a Comment
Thanks