jeran
10/06/2022, 6:26 PMText
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?jeran
10/06/2022, 6:37 PMMichael Paus
10/07/2022, 8:28 AMjeran
10/07/2022, 2:59 PM