electrolobzik
02/08/2022, 5:52 PM<https://play.kotlinlang.org/hands-on/Full%20Stack%20Web%20App%20with%20Kotlin%20Multiplatform>
I get this error: The Compose Compiler requires the Compose Runtime to be on the class path, but none could be found
while compiling jvm target. I have compose dependencies specified only for js target, but it looks like the Compose Plugin is used for jvm and it causes the error. How could I fix that? Are there any sample projects with Compose and Ktor backend working together?rocketraman
02/08/2022, 5:58 PMval commonMain by getting {
dependencies {
api(compose.runtime)
api(compose.web.core)
}
}
electrolobzik
02/08/2022, 6:14 PMrocketraman
02/08/2022, 6:14 PMelectrolobzik
02/08/2022, 6:28 PMrocketraman
02/08/2022, 6:30 PMelectrolobzik
02/09/2022, 2:48 PMrocketraman
02/09/2022, 2:56 PM