To use Inertia you need both a server-side adapter as well as a client-side adapter. Be sure to follow the installation instructions for the frameworks you use.

Official adapters

Server-side setup

The first step when using Inertia is to configure your server-side framework. This primarily includes setting up a root template and updating your endpoints to return Inertia responses. See the server-side setup page for more details.

Client-side setup

Once you have your server-side framework configured, you then need to setup your client-side framework. This primarily includes updating your main JavaScript file to boot the Inertia app. Please see the client-side setup page for more details.