hi everyone, i’m working on trying to get a compose/canvas project working. i’ve got a simple project that displays a hello world
Text
composable centered in a
Box
. running
./gradlew jsBrowserRun
works fine. it opens to localhost:8080 and displays what I expect.
but i’m trying to figure out how to eventually embed this in a website. I thought that
./gradlew jsBrowserDistribution
was the command I wanted, and then I could open
foo/build/distributions/index.html
locally and I should see the same result. but right now i’m just getting an empty screen.
i have a separate project that uses the compose/dom approach, and calling
./gradlew jsBrowserDistribution
and navigating to
foo/build/distributions/index.html
works fine.
Is there a step I’m missing for the compose/canvas approach?