Routing is a system for mapping the URL of incoming requests to the controller function that should be called to process the request.
It both allows you to specify beautiful URLs and keeps the functionality of your application decoupled from those URLs.
But most of the time you navigate as a result of some user action such as the click of an anchor tag.
Consider the following template: The guide proceeds as a sequence of milestones as if you were building the app step-by-step.
The wildcard route comes last because it matches Now you have routes configured and a place to render them, but how do you navigate?
The URL could arrive directly from the browser address bar.
This is useful for displaying a "404 - Not Found" page or redirecting to another route.