multiplatform-library-template
multiplatform-library-template copied to clipboard
Add wasmJs target
Is it possible to add wasmJs target to this template?
I'm curious is it even possible?
Is it possible to add wasmJs target to this template?
disclaimer: I'm a newbie on kotlin multiplatform and compose multiplatform.
library/build.gradle.kts " kotlin { ... // add below 2 lines @OptIn(ExperimentalWasmDsl::class) wasmJs() ... } "
library/src/wasmJsMain/kotlin/fibiprops.wasmJs.kt " actual val firstElement: Int = 4 actual val secondElement: Int = 5 "