hello folks. I'm trying to create a hello world with compose-web... But without luck so far.
I have a small module for a web app together with an android and desktop app. I create create a hello world with this:
Copy code
fun main() {
document.body?.appendText("Hello, world JS!")
}
I get the same thing... Okay, maybe I'm a super noob web developer (I'm a android dev, not web =|), but shouldn't this work? That's what i see in the sample
p
Pablichjenkov
10/09/2023, 11:11 PM
I think you are mixing
compose-web
and
compose-html
. You probably want the second but you mentioned
compose-web
. In any case, just find the proper example, clone it and make sure it works. Then build on top of that. Without code and the project is hard to see what could be wrong
l
Leandro Borges Ferreira
10/09/2023, 11:53 PM
You're right @Pablichjenkov. Checking the example and coping that did the trick.
I copied one example and it is working now. Thanks for help =]