Client functions

createNotFoundPage()#

This function creates a premade 404 page.

You don't have to use this 404 page, it does nothing special. Feel free to make your own.

This has be put in /pages/404.tsx to work, if you use a different location it won't work.

Example#

/pages/404.tsx
export default createNotFoundPage();

Reference#

function createNotFoundPage();