Does anyone in the channel know how to embed WASM ...
# kobweb
r
Does anyone in the channel know how to embed WASM in to a Kobweb app? I'm looking to add some of the Compose Web code I've written on my Kobweb site.
m
You can create an Html canvas in Kobweb, give it an id an try creating a Compose Web Container referencing that canvas id. This works for me with Compose Html not sure about Kobweb.
s
should also work since it's still compose html under the hood. recently there has also been a thread about this here https://kotlinlang.slack.com/archives/C01F2HV7868/p1719493879663079 so it seems there are still some issues when embedding it in a regular page
r
Thanks. I'll check this out.