Browse all series
FrameworksIntermediate24 episodes

Build Modern Laravel Apps Using Inertia.js

Inertia.js is an incredible tool that glues a server-side framework, like Laravel, to a client-side framework, like Vue. With Inertia, you can continue using server-side routing, and controllers, and authentication, and validation. With Inertia, you don't need to learn how to build an API, and you definitely don't need to use OAuth. Instead, relax and continue creating apps the way you traditionally would.

I really think you're going to enjoy Inertia as much as I do. In fact, Laracasts itself uses Inertia under the hood; I wouldn't have it any other way.

Series episodes

The Basics (18)

What is Inertia.js

5m 36s

Discover what Inertia.js is and isn’t in this quick intro—get clear insights to help you build modern, seamless single-page apps with ease.

Install and Configure Inertia

6m 23s

Install and configure Inertia with Laravel and Vue—set up adapters, create your layout, and compile assets for a seamless modern app build.

Pages

5m 49s

Create your first Inertia Page component—build dynamic, client-side views like Blade templates for a smoother, modern Laravel app experience.

Inertia Links

7m 14s

Learn how to create seamless page links with Inertia's Link component—no full refresh, just smooth AJAX navigation for faster, modern web apps.

Progress Indicators

1m 57s

Add Inertia’s progress indicator to show a sleek loading bar during long server requests, enhancing user feedback and improving your app’s experience.

Perform Non-GET Requests

6m 44s

Learn how to use Inertia’s Link component to perform non-GET requests like POST, enabling actions such as logging out with seamless, interactive buttons.

Preserve the Scroll Position

4m 4s

Learn how to preserve scroll position in Inertia.js using the preserve-scroll attribute, keeping user context intact during page updates for a smoother experience.

Active Links

6m 45s

Learn how to highlight active navigation links using Inertia’s $page.url and $page.component, improving user experience with clear visual feedback.

Layout Files

7m 22s

Learn how to create layout files to centralize consistent UI elements like navigation, simplifying your app and improving user experience across pages.

Shared Data

6m 48s

Discover how to easily share data across components using Inertia’s friendly approach, streamlining your app’s state management and improving development flow.

Global Component Registration

4m 28s

Learn how to register global components in your app to simplify usage—like making Inertia’s Link available everywhere without repetitive imports.

Persistent Layouts

3m 56s

Learn how to create persistent layouts in your app to keep state alive across pages—perfect for features like uninterrupted podcast playback while browsing.

Default Layouts

2m 35s

Learn how to set up default layouts in your app to avoid manually importing and assigning layouts for every page, streamlining your development process.

Code Splitting and Dynamic Imports

5m 16s

Discover how dynamic imports enable code splitting to load JavaScript asynchronously, improving your app’s performance as users navigate your site.

Dynamic Title and Meta Tags

9m 16s

Make your HTML head dynamic with Inertia's Head component - set titles and meta tags easily for better SEO and UX.

An Important SPA Security Concern

6m 53s

Learn key SPA security tips to protect private data when fetching with AJAX. Ensure your app safely handles Eloquent data without exposing sensitive info.

Pagination

13m 8s

Easily add pagination to your Laravel app. Learn how to display user-friendly pagination links below your users table for smooth navigation and better UX.

Filtering, State, and Query Strings

13m 36s

Implement real-time search filtering with query strings and state. Learn to refresh user tables instantly as you type for a smooth, dynamic experience.

Continue learning

Thumbnail for What's New in Laravel 6
What's New in Laravel 6

With Jeffrey Way

  • 5 episodes
  • Intermediate
  • Frameworks
Thumbnail for Build Mobile Apps With React Native and Expo
Build Mobile Apps With React Native and Expo

With Andre Madarang

  • 24 episodes
  • Intermediate
  • Frameworks
Thumbnail for Learn Telescope
Learn Telescope

With Andre Madarang

  • 2 episodes
  • Intermediate
  • Frameworks
Thumbnail for Blade Component Cookbook
Blade Component Cookbook

With Jeffrey Way

  • 11 episodes
  • Intermediate
  • Frameworks
Thumbnail for What's New in Laravel 11
What's New in Laravel 11

With Luke Downing

  • 14 episodes
  • Intermediate
  • Frameworks

Would you like to hear from Laracasts by email occasionally?