Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Nospoon's avatar

Can't change default pagination view

I'm trying to make a small change to the default pagination component. Followed the documentation, after publishing the vendor views with php artisah vendor:publish --tag=laravel-pagination I modified the tailwind.blade.php file, but the changes are not being applied, no matter how many times I clear the cache and reload the browser, it still doesn't seems to use the default component rather than the published one. Any ideas why could this be?

0 likes
3 replies
Nospoon's avatar

I also tried explicitly specifying the view in AppServiceProvider's boot mehtod as per documentation, that doesn't work either.

Paginator::defaultView(resource_path('views/vendor/pagination/tailwind.blade.php'));

Please or to participate in this conversation.