Search Docs
Only effective in development environment
Generate a 404 page. When a user visits a non-existent page, this function will be called to generate a 404 page.
(rawPages: string) => string
generateNotFoundHtml: (rawPages: string) => { return `<div> <h1>Page not found, you can go to:</h1> <ul>${rawPages}</ul> </div>`; }