arkivanov / Decompose

Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing (navigation) and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.)
https://arkivanov.github.io/Decompose
Apache License 2.0
2.25k stars 85 forks source link

Compose Multiplatform resources via WebHistoryController #742

Closed nevrozza closed 4 months ago

nevrozza commented 4 months ago

Hi! Is there way to use Compose Multiplatform resources with WebHistoryController? Example of problem: I have custom font. Ip without WebHistoryController: http://localhost:8080/ With: http://localhost:8080/auth/activation It causes problem: Cannot GET /auth/composeResources/pansion.common.utils_compose.generated.resources/font/Geologica-Black.ttf ("/auth" is unnecessary).

arkivanov commented 4 months ago

This issue looks unrelated to WebHistoryController, but rather a general Compose issue. I recommend askin in Kotlin Slack, filing an issue in YouTrack, or asking in Compose Multiplatform Discussions.

nevrozza commented 4 months ago

@arkivanov Thanks for ur answer!