Skip to content

Commit

Permalink
use bootstrap 5 pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
iqbaleff214 committed May 23, 2024
1 parent 26d5081 commit 1d7b72a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Providers;

use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
Expand Down Expand Up @@ -31,5 +32,7 @@ public function boot(): void
// Share all menuData to all the views
View::share('menuData', $verticalMenuData);
View::share('languages', config('app.available_locales'));

Paginator::useBootstrapFive();
}
}

0 comments on commit 1d7b72a

Please sign in to comment.