Nuxt · NUXT0004
Do not link to missing content routes
Flags broken internal to link in Nuxt links code before it leaks into runtime behavior.
nuxt-content/links/no-broken-internal-to-linksrc/rule-packs/nuxt/rules/docus.tsRun 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.
Recommended fix
Remove broken internal to link, or move it to the Nuxt runtime/API that owns that behavior.
Example
Fix broken content links
Before
::card{to="/missing-page"}
Missing page
::
After
::card{to="/guide/getting-started"}
Getting started
::