skip to Main Content

page doesn't change when using paginator (Laravel, Inertia.js)

I am using Laravel Jetstream and InertiaJS. I tried to make a pagination according to the manual. web.php use AppModelsPost; use IlluminateFoundationApplication; use IlluminateSupportFacadesRoute; use InertiaInertia; Route::get('/posts', function () { return Inertia::render('Posts', [ 'posts' => Post::paginate(2)->through(fn($post) => [ 'id' =>…

VIEW QUESTION
Back To Top
Search