Skip to content

Frontend

Inertia.js

Adapter that connects single-page apps with classic server-side frameworks without a separate API.

Inertia.js is a library that makes it possible to build single-page applications (SPAs) without having to set up a separate API. The frontend is built with React, Vue or Svelte, while routing and data retrieval remain in the server-side framework, such as Laravel or Rails, through classic controllers.

Instead of fetching JSON via REST or GraphQL, with Inertia the server directly returns the page component together with its data as the response. Inertia then handles switching between pages on the client side, so the page does not need to be fully reloaded and an app-like feel is achieved without duplicate routing logic.

In practice at Provimedia

What Provimedia uses it for

Provimedia uses Inertia.js to connect Laravel backends with Vue frontends, including on this website.

Want to use Inertia.js for your project?

In a free conversation, let's find out how we can implement this for you.