Nuxt · Content
NUXT0004Do not link to missing content routes
Flags broken internal to link in Nuxt links code before it leaks into runtime behavior.
vite-doctor/docuscontentwarnSuggestion
Why it happens
Nuxt routing APIs preserve prefetching, SSR behavior, and route state. Raw browser or Vue Router patterns can bypass that integration.
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
::
Verify the fix
Run only this rule after editing so the report stays focused on the diagnostic you are closing:
pnpm nuxt doctor --rules nuxt-content/links/no-broken-internal-to-link