404 pages
Handling non-existing routes gracefully is essential for a good user experience and SEO.
Configuration
Map unknown routes to a dedicated 404 module in your router configuration:
404 Module
Create a not-found
module to display a user-friendly 404 page.
Server Handling
With SSR, when a user requests a non-existing route, the server will render the not-found
module just like any other page, ensuring consistent behavior across client and server.
Last updated
Was this helpful?