This is how I've configured routing with Kilua `Ss...
# kilua
r
This is how I've configured routing with Kilua `SsrRouter`:
Copy code
root("root") {
            withViewModelStoreOwner {
                SsrRouter(
                    initPath = "/"
                ) { ->
                    route("/") {
                        ListScreen()
                    }
                    route("detail") {  ->
                        int { objectId ->
                            // DetailScreen(objectId!!)
                            div { // TODO: replace with DetailScreen
                                +"Detail Screen for $objectId"
                            }
                        }
                    }
                }
            }
        }