Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
I

inertia

> 编程语言
Open source

Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

8.1K stars0 likes1 views
WebsiteGitHub

About

Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

About Inertia.js

Inertia.js lets builders ship modern single-page applications in React, Vue, or Svelte without building an API. Your backend keeps doing what it already does well: routing, controllers, models, authorization, validation. Instead of returning a template, it returns a page component with its data. Inertia connects the two halves, so a click never triggers a full page reload.

It all stays in one application: one codebase, one router, one source of truth, and the single-page experience your users expect. Fewer moving parts means fewer decisions between an idea and a production application, whether a human or an agent is writing the code.

Everything a real product needs, designed to work together:

  • Page visits, forms, file uploads with progress, and server-side validation
  • Optimistic updates that render before the server responds and roll back if it fails
  • Partial reloads, deferred props, prefetching, polling, and infinite scroll
  • Server-side rendering, code splitting, and view transitions
  • History encryption for pages that hold sensitive data
  • DevTools that show every request, header, and hydrated prop while you build

Adapters

Inertia is the layer between your backend and your frontend, and it works through adapters. It doesn't replace the frameworks you already use, on either side. The React, Vue, and Svelte adapters all live in the inertiajs/inertia repository. On the server, the Laravel adapter is officially maintained, and community adapters cover Rails, Phoenix, Django, Symfony, AdonisJS, Go, .NET, and more.

Laravel's official React, Vue, and Svelte starter kits are built on Inertia. A new application begins with login, registration, password resets, email verification, two-factor authentication, and profile settings already working.

Learning Inertia.js

The documentation takes you from installation to how the protocol works under the hood. Prefer to read code? The demo application is a mini CRM built with Laravel and Vue, with showcase pages for forms, navigation, data loading, prefetching, state management, and error handling. Its source is in the demo-v3 repository.

Deploying Inertia.js

An Inertia application runs anywhere your backend does. The fastest path from idea to production is Laravel Cloud. Connect a repository and you can deploy a app in under a minute. There are no servers to configure, and your asset build and SSR server are handled for you. Add a managed database, cache, or object storage in seconds, with the right environment variables connected for you automatically. With Flex compute, your full stack scales to zero when it's idle and wakes in under 500 milliseconds, which means staging environments and side projects cost nothing while nobody is using them. The Starter plan is $5 a month and comes with $5 in usage credits included. Try Cloud with your first month for free.

Contributing

Thank you for considering contributing to Inertia! You can read the contribution guide here.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Inertia is open-sourced software licensed under the MIT license.

Issues· 15 open

View all issuesOpen on GitHub
  • #3275

    Queue can leave tasks pending when they are added as a drain completes

    Updated Sep 25, 2026
  • #3272

    [3.x] Already-aborted requests are still sent by the XHR client

    Updated Sep 22, 2026
  • #3265

    Initial visit restores a stale page object from history without checking the asset version

    Updated Sep 20, 2026
  • #3263

    InitialVisit.handleBackForward restores a page from history without comparing asset versions, so a re-fetched document renders the previous deploy's props

    Updated Sep 17, 2026
  • #3247

    Inertia + Vue3: Code splitting does not work correctly under SSR, causing layout shifting, bad scaling.

    vue 3Updated Sep 7, 2026
  • #3241

    [3.x] A stale optimistic response silently reverts a newer optimistic save when nothing else is pending

    Updated Aug 31, 2026
  • #3238

    Form component fails to detect some inputs change (isDirty)

    reactUpdated Aug 30, 2026
  • #3231

    `withFragment()` causes Inertia visit to return 409 Conflict

    Updated Aug 25, 2026
  • #2297

    Interia clearHistory doesn't clear across subdomains

    Updated Jul 20, 2025

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言