Nuxt · NUXT0004

Do not link to missing content routes

Flags broken internal to link in Nuxt links code before it leaks into runtime behavior.
NUXT0004vite-doctor/docuscontentwarnSuggestion
nuxt-content/links/no-broken-internal-to-linksrc/rule-packs/nuxt/rules/docus.ts

Run this rule

pnpm nuxt doctor --rules nuxt-content/links/no-broken-internal-to-link

Why it matters

Nuxt routing APIs preserve prefetching, SSR behavior, and route state. Raw browser or Vue Router patterns can bypass that integration.

Remove broken internal to link, or move it to the Nuxt runtime/API that owns that behavior.

Example

Before

::card{to="/missing-page"}
Missing page
::

After

::card{to="/guide/getting-started"}
Getting started
::
Copyright © 2026