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?
b
Big Chungus
02/08/2022, 5:55 PM
Sure, just have your server and compose-web in separate modules. You can introduce a third module if you want to share some code between them.
Big Chungus
02/08/2022, 5:56 PM
Here's a sample setup sharing code between ktor server and compose-web app