v79
08/22/2023, 8:09 PMimplementation(compose.preview)
to destktopMain
source set in the shared module, and I've added the androidx.compose.desktop.ui.tooling.preview.Preview
annotation to my function. But I see nothing in either IntelliJ or Android Studio. I'm not sure what version of Compose I'm using though!Pablichjenkov
08/22/2023, 8:21 PMimplementation (compose.uiTooling)
Pablichjenkov
08/22/2023, 8:23 PMv79
08/22/2023, 8:29 PMPablichjenkov
08/22/2023, 8:31 PMPablichjenkov
08/22/2023, 8:31 PMv79
08/22/2023, 8:32 PMPablichjenkov
08/22/2023, 8:32 PMv79
08/22/2023, 8:35 PMv79
08/22/2023, 8:41 PMdestopApp
- just a main() function which launches the app. All the code is in the shared module, none of them have @Preview, and as far as I tell, none of them even have any platform-specific UI composable functions. https://github.com/JetBrains/compose-multiplatform/blob/master/examplesPablichjenkov
08/22/2023, 8:45 PMPablichjenkov
08/22/2023, 8:50 PMPablichjenkov
08/22/2023, 8:51 PMv79
08/22/2023, 8:58 PMGiuliopime
10/11/2023, 1:28 PMval desktopMain by getting {
dependencies {
dependsOn(commonMain)
implementation(compose.desktop.common)
api(compose.uiTooling)
}
}