I see that the multiplatform template was updated ...
# compose-desktop
c
I see that the multiplatform template was updated to include this
Copy code
named("commonMain") {
            dependencies {
                api(compose.runtime)
                api(compose.foundation)
                api(compose.material)
                // Needed only for preview.
                implementation(compose.preview)
            }
        }
Does this mean that preview is available in common code?
a
yes, desktop Preview could be called for common code(desktop @Preview should be used)
👍 1