Open erwingeiger opened 3 years ago
How can I create a route for a 404 page when the URL does not match?
Only the first matching route in Router.Switch will be rendered, so you can finish with a wildcard route.
Router.Switch
<Route path={ /.*/ }> <app-page-not-found></app-page-not-found> </Route>
How can I create a route for a 404 page when the URL does not match?