Nino
03/26/2026, 1:34 PMTo enable Compose previews in common code of your Kotlin Multiplatform project, you need an Android target, since previews rely on Android libraries..
So, it's not possible to preview any @Composable in commonMain target ?Arsildo Murati
03/26/2026, 1:38 PMNino
03/26/2026, 3:41 PMandroidMain target in a pure web Compose project, but at least we can have @Previews, us non-Android Compose peasants 🤷Chrimaeon
03/26/2026, 5:18 PMChrimaeon
03/26/2026, 5:20 PMbuild.gradle is enoughNino
03/26/2026, 5:21 PMcom.android.kotlin.multiplatform.library plugin ?Chrimaeon
03/26/2026, 5:21 PMNino
03/26/2026, 5:22 PMdebugImplementation("org.jetbrains.compose.ui:ui-tooling:1.10.3") -> androidRuntimeClasspath("org.jetbrains.compose.ui:ui-tooling:1.10.3"), and androidTarget -> androidNino
03/26/2026, 5:39 PMIntelliJ IDEA 2026.1 Build #IU-261.22158.277, built on March 25, 2026Chrimaeon
03/26/2026, 5:47 PMChrimaeon
03/26/2026, 5:48 PMArsildo Murati
03/26/2026, 5:49 PMNino
03/26/2026, 5:50 PMArsildo Murati
03/26/2026, 5:50 PMArsildo Murati
03/26/2026, 5:51 PMArsildo Murati
03/26/2026, 5:52 PM