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.

Published
Sep 06
Duration
8m 59s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.

Adocasts

Burlington, KY

Chapters

00:00 - Introducing Inertia's Head Component
01:20 - Inertia's Global Title Method
02:15 - Adding Our First Page Title and Meta Description
03:19 - Inertia Meta Tag Attribute
04:33 - An Updated Note on SSR Titles
06:37 - Creating An AppHead Component

👋 Hey all, just a heads up that an updated note regarding SSR and page titles was added to this lesson on Sept 28, 2024. You can find it a 04:33.

Join The Discussion! (0 Comments)

Please sign in or sign up for free to join in on the dicussion.

robot comment bubble

Be the first to Comment!