mount

fun mount(route: Route, view: FlowContent.(Route.Match) -> Unit)

Mounts a route and associates it with the given view.

The route is mounted with all middlewares that are defined in the current scope.