HashRouter

@Composable
fun HashRouter(initPath: String, routeBuilder: @Composable RouteBuilder.() -> Unit)

This Router implementation uses /#/path to persistent the current route in window.location.hash.

Every request will always request GET /, so your server needs only to listen and serve this endpoint, or using a SaaS /index.html.