@ -43,14 +43,19 @@ kotlin {
}
sourceSets {
val desktopMain by getting
val commonMain by getting {
dependencies {
implementation(project(":Kapp:library"))
val desktopMain by getting {
dependsOn(commonMain)
implementation(compose.desktop.currentOs)
val jsMain by getting
if (withNative) {
@ -7,7 +7,7 @@
<link type="text/css" rel="stylesheet" href="styles.css" />
</head>
<body>
<h1>compose multiplatform web demo</h1>
<h1>Web KApp Demo</h1>
<div>
<canvas id="ComposeTarget" width="800" height="600"></canvas>
</div>