Dev Helpers
← Back

Missing guide navigation

Place this file at app/not-found.tsx in an App Router project.

Open this example in the interactive library

Source code

// app/not-found.tsx

import Link from "next/link";

export default function MissingGuideNavigation() {
  return (
    <main>
      <h1>Guide not found</h1>
      <Link href="/guide">Browse all guides</Link>
    </main>
  );
}