Inertia.js lets you build a single-page app without building an API. Laravel keeps routing, controllers, validation and authorisation; Vue renders the pages; Inertia passes data between them as page props. This course teaches the approach used by Laravel's official Vue starter kit, so you get an SPA's feel with the simplicity of a server-rendered monolith.

What you'll learn

  • How Inertia works: page visits, page objects, props and the protocol between Laravel and Vue
  • Setting up Laravel with the Vue starter kit, Vite and TypeScript
  • Pages, persistent layouts and navigation with the Link component
  • Forms with Inertia's form helper: validation errors from Laravel, progress, file uploads and resets
  • Shared data such as the signed-in user, flash messages and permissions
  • Partial reloads, deferred props, prefetching, polling and infinite scrolling in Inertia 2
  • Authorisation with policies, and passing only the data each page needs
  • Typed props and routes between Laravel and TypeScript
  • Server-side rendering for public pages and its trade-offs
  • Testing Inertia responses in Laravel and Vue components with Vitest

Who it's for

  • Laravel developers who want a modern front end without maintaining a separate API
  • Vue developers joining Laravel teams
  • Teams moving an older Blade and jQuery app towards components step by step

Prerequisites

  • Laravel basics: routes, controllers, Eloquent and validation (see Laravel for Beginners)
  • Vue 3 basics with the Composition API (see Vue 3 and Nuxt)
  • PHP 8.2+, Composer and Node.js LTS installed

Outcomes

By the end of this course you will be able to:

  1. Build a full Laravel and Vue app with Inertia, with no separate REST API.
  2. Handle forms, validation, uploads and flash messages cleanly across the server and client.
  3. Use Inertia 2 features to keep pages fast as data grows.
  4. Decide when Inertia is a good fit and when a separate API is needed.

Projects you'll build

  • Project and invoice tracker: clients, projects, time entries and invoices with list, detail and edit pages. It practises Inertia forms, persistent layouts and policies.
  • Analytics dashboard: a page whose slow charts load as deferred props while the rest renders immediately, with polling for live numbers. It practises partial reloads and Inertia 2 performance features.
  • Public listings site with SSR: a searchable directory whose public pages render on the server for search engines. It practises SSR, meta tags and query-string filters.

Tools you'll use

Laravel 12 or later, Inertia.js 2, Vue 3 with the Composition API and TypeScript, Vite, Tailwind CSS, Pest for Laravel tests, Vitest for Vue tests, and Laravel Herd or Sail for local development.

Course outline

ModuleTopic
1Why Inertia: monolith versus SPA versus API
2Starter kit setup, Vite and TypeScript
3Pages, layouts and navigation
4Props, shared data and flash messages
5Forms, validation and file uploads
6Authorisation and passing safe data
7Partial reloads and deferred props
8Prefetching, polling and infinite scroll
9Typed props and routes
10Server-side rendering
11Testing Laravel and Vue sides
12Deployment and performance review

FAQ

Should I choose Inertia or Livewire?

Both are good choices. Inertia suits teams comfortable with Vue who want rich client-side interaction. Laravel Livewire and Filament Admin Panels suits teams who prefer to stay in PHP and Blade, especially for admin tools.

Can I use React instead of Vue?

Inertia supports React and Svelte too, and the Laravel side is the same. This course uses Vue throughout, but the patterns transfer directly.

Do I still need an API for a mobile app?

Yes. Inertia serves web pages only. If you also need a mobile client, see Advanced Laravel APIs and Queues.

How do I join?

Get in touch and we'll share the current format, schedule and enrolment details.