Hey Guys, my compose multiplatform project is unab...
# compose-web
k
Hey Guys, my compose multiplatform project is unable to process the below given import
Copy code
import org.jetbrains.compose.web.dom.Div
I tried to add the following dependencies,
Copy code
wasmJsMain.dependencies {
    implementation("org.jetbrains.compose.web:web-core:1.6.11")
    implementation("org.jetbrains.compose.web:web-html:1.6.11")
}
but I getting error while syncing
h
The html library does not support wasm, but JS only.
1
k
so how can i add Div in my code, or any alternative available
o
if you want to use html with k/wasm, you can try either manipulating the html tree manually, or try https://github.com/rjaros/kilua
k
Hey @Oleksandr Karpovich [JB], sorry for not updating here, I'm able to manipulate the html tree now
👍 1