Is it possible to use compose for web and compose ...
# compose-web
m
Is it possible to use compose for web and compose for desktop in the same project?
o
Yes, it's possible. When you use web specific version of a gradle plugin you can have desktop and web targets: id("org.jetbrains.compose") version "0.0.0-web-dev-12"
g
And because desktop dependency is compatible with Android, it means that compose web dependency is compatible with desktop and android too?
u
@gpaligot we haven't published android artifacts in this particular preview but planning to do so next week
🎉 12
🦜 2
m
When I tried using it with desktop, the mpp targets in the common module stopped working in the ide (IntelliJ Idea 2021.1.1)
Well, I found the issue The modules were removed from the common module and I don't know how to get them back Actually, removing the js target from the common module seems to fix it, so there might be an issue with the js target breaking the gradle importing