hashRouter

@Composable
fun IComponent.hashRouter(initRoute: String = "/", routing: RoutingBuilder.(RoutingContext) -> Unit)(source)

Creates a HashRouter with the specified initial route.

Parameters

initRoute

the initial route to navigate to (default is "/")

routing

the routing configuration block