inertia-adonisjs
Installation
SKILL.md
<essential_principles>
How Inertia + AdonisJS Works
Inertia is a bridge between AdonisJS and React. You keep server-side routing and controllers, while the client swaps page components without full reloads.
1. Server-Driven Pages
Controllers render Inertia responses with props:
return ctx.inertia.render("users/show", { user: new UserDto(user) });
2. No Client-Side Routing
Routes live in start/routes.ts. Inertia intercepts links and form submissions, making XHR requests and swapping components.