Even after adding a custom 404.md, the standard 404 page is displayed. #3880
-
I am creating documentation using VitePress. To display a custom 404 page, I added a 404.md file. However, after building the project, the standard 404 page is displayed instead. Here is the reproduction environment: https://stackblitz.com/edit/vite-pukdjm?file=docs%2F404.md Accessing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Ah yeah. It's broken currently. You can use |
Beta Was this translation helpful? Give feedback.
Ah yeah. It's broken currently. You can use
not-found
layout slot from theme instead - https://vitepress.dev/guide/extending-default-theme#layout-slots