Skip to content

Fix custom 404 page to use VitePress not-found slot#69

Merged
amavashev merged 1 commit intomainfrom
claude/analyze-doc-website-FTmG8
Mar 16, 2026
Merged

Fix custom 404 page to use VitePress not-found slot#69
amavashev merged 1 commit intomainfrom
claude/analyze-doc-website-FTmG8

Conversation

@amavashev
Copy link
Contributor

404.md with layout: page only creates a regular page at /404 — it doesn't replace VitePress's built-in NotFound handler. Add a custom Layout.vue with a not-found slot and a branded NotFound.vue component with navigation links.

https://claude.ai/code/session_01LVeAZGvccG11HfdcBGqECM

404.md with layout: page only creates a regular page at /404 — it
doesn't replace VitePress's built-in NotFound handler. Add a custom
Layout.vue with a not-found slot and a branded NotFound.vue component
with navigation links.

https://claude.ai/code/session_01LVeAZGvccG11HfdcBGqECM
@amavashev amavashev merged commit 7df6b99 into main Mar 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants