I have used this code and we all know this is the way to call the Laravel's default paginator.
<div class="row">
<div class="mt-12">
{!! $projectDashboard->withQueryString()->links() !!}
</div>
</div>
But when I ran php artisan
it was functionally okay but design was broken.
Go to app service provider and add this line to use paginator class:
use Illuminate\Pagination\Paginator;
Set default Bootstrap design from the boot function:
public function boot()
{
Paginator::useBootstrap();
}