Configuration
Configure your 404 page in theerrors.404 section of your docs.json file:
Parameters
Whether to automatically redirect to the home page when a page is not found.Set to
true to redirect to the home page.Set to false to show the custom 404 page.