null

InertiaJS

2 Series
45 Lessons
6h 20m

InteriaJS provides a unique approach to a monolith application, which they call the "modern monolith." It allows us to easily mesh our server-side to our client-side without needing to change much code.

From The Feed

  • @thomas-danger thomas-danger

    Inertia and i18n

    Hello,

    I want to use the i18n module in an inertia project with react but i can't find a way to use the t('messages.gretting') method in my tsx component…
    Is it possible to use this method in inertia like in Edge template ? Or am i forced to...

    Read more

Lessons.

Video preview
What Can We Share?

What Code Can & Can't Be Shared Between AdonisJS & Inertia

In this lesson, we'll discuss what code we can and cannot share between AdonisJS and Inertia.

Video preview
Page Titles and Meta Tags

Specifying Page Titles & Meta Tags

In this lesson, we'll learn how we can append information into the head of our document with Inertia on a per-page basis. We'll then create our own head component, wrapping Inertia's, to allow easier global changes.

Video preview
Default Layouts and Overwriting the Default

Default Layouts & Overwriting the Default Layout

In this lesson, we'll inspect how Inertia injects our layout component and the data passed to it. We'll also learn how we can overwrite our default layout from our page components.

Video preview
Creating A Layout

Creating A Layout

In this lesson, we'll learn how to create a layout component and apply it to all our pages, the Inertia way.

Video preview
Partial and Lazy Data Loading

Partial and Lazy Data Loading and Evaluation

In this lesson, we'll learn about Inertia's partial reload functionality that allows us to refresh only specifically specified prop items for our page. We'll also examine lazy properties and how our props are evaluated with partial reloads.

Video preview
Global Components

Global Components and Hydration Mismatch in Action

In this lesson, we'll learn how to register components globally inside our Vue application. We'll also learn what to watch out for and examine a hydration mismatch in action.

Video preview
The Link Component

The Link Component and Programmatic Linking

In this lesson, we'll explore Inertia's Link component and its props. We'll then examine how to link between pages programmatically using Inertia's router.

Video preview
Linking Between Pages

Linking Between Pages & Page State Flow

In this lesson, we'll learn how to link from page to page the InertiaJS way. We'll then inspect how InertiaJS gets and updates our page's stateful information via our page props.

Video preview
Sharing Data from AdonisJS to Vue via Inertia

Sharing Data from AdonisJS to Vue via Inertia

In this lesson, we'll learn how to pass data from AdonisJS to Vue using Inertia as the broker. We'll discuss passing data from our controllers, from middleware, and globally via the Inertia shared data configuration.

Video preview
The Flow of Pages and Page Props

The Flow of Pages and Page Props

In this lesson, we'll talk about the flow InertiaJS follows when rendering pages, from AdonisJS to our Vue application. Then, we'll talk about passing props to our Vue page components.

Video preview
Shadcn-vue and TailwindCSS

Setting Up TailwindCSS, Shadcn-Vue, and Automatic Component Imports

In this lesson, we'll install and configure Shadcn-Vue and TailwindCSS. We'll then set up automatic imports for all of our local Vue components.

Video preview
SSR vs CSR

Server-Side Rendering (SSR) vs Client-Side Rendering (CSR)

In this lesson, we'll discuss the differences between InertiaJS in a server-side rendered (SSR) and a client-side rendered (CSR) application. We'll then compare when you would want to choose one over the other and the pros and cons of both.

Video preview
Creating Our AdonisJS App With InertiaJS

Creating Our AdonisJS App With InertiaJS

In this lesson, we'll create a new AdonisJS 6 application with the InertiaJS Starter Kit. We'll then walk through the Inertia-specific aspects of our project structure and briefly discuss the configuration steps taken when adding Inertia.

Video preview
What We'll Be Building

What We'll Be Building

At the end of this series, we'll have a feature-complete application with organizations, teams, drag-and-drop ordering, password reset, and more! So, let's take a second to see our end goal and walk through the app.

Video preview
What Is InertiaJS

What Is InertiaJS?

In this lesson, we'll introduce InertiaJS. We'll discuss what it is, what it helps with, its adapters, and more.

Adonis + Inertia SSR
AdonisJS + InertiaJS #9.0
・
Jul 23, 23

How To Create An AdonisJS 5 & Inertia 1 Project with SSR

In this lesson, we’ll take a look at how to set up AdonisJS 5 and InertiaJS V1 using server-side rendering (SSR).

AdonisJS + InertiaJS #8.0
・
Oct 16, 22

Form Validation Error Handling

In this lesson, we'll see just how nice InertiaJS is when it comes to form validation error handling. As you'll see, little work needs to be done on our part.

AdonisJS + InertiaJS #7.0
・
Oct 02, 22

Introducing InertiaJS Forms & The InertiaJS Form Helper

In this lesson, we'll learn about InertiaJS and how it differs when it comes to forms. We'll see how it helps simplify response handling and treats forms as a hybrid between APIs and a Monolith. We'll also learn about Inertia's form helper.

AdonisJS + InertiaJS #6.0
・
Sep 18, 22

Simplifying Imports with Path Aliases & Global Components

In this lesson, we'll learn how to add a path alias with Webpack Encore to eliminate relative paths from our client-side imports. We'll also learn how to register global Vue 3 components.

AdonisJS + InertiaJS #5.0
・
Aug 11, 22

Naive UI and Vue 3 Component Import on Demand

In this lesson, we'll be installing Naive UI, a Vue 3 component library, to our Inertia and Vue 3 application. Then, we'll set up Import on Demand so components will auto-resolve as we use them.

Showing 21 to 40 of 44 results