If you're making HTTP requests with JavaScript's Fetch API to web routes in Laravel, you'll need to pass a CSRF token rather than just exclude those routes from CSRF protection.
In this article, you'll learn how to add pagination to your Inertia apps with a simple, custom, re-usable pagination component.