Function to generate a Route.
the route value.
Optional
params: Paramsthe route parameters.
Optional
replace: booleanindicates whether to replace the entry in the browser's history instead of appending. This is useful, for example, when redirecting from a route that the user was not allowed to access.
Generated using TypeDoc
See RouteConfig for details.