Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
To customize a 404 page, you can directly add a import Theme from "rspress/theme";
const NotFoundLayout = () => <div>404</div>;
export default {
...Theme,
NotFoundLayout,
};
export * from "rspress/theme"; You can write any react component for |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
工程和构建
期望样式
实际效果
我的想法
我可以编写任意 404.mdx ,然后默认的 404 就会是我的 404.mdx 内容,因为默认的不好看,我想在 404 中做更多的事情,感谢
Beta Was this translation helpful? Give feedback.
All reactions