Dirk Hoffmann
12/20/2021, 9:58 AMgradle jsBrowserRun
shows an empty Browser page,
I guess because build/processedResources ends up in the subprojects build folder, but build/js ends up in the roots build folder ...
how do I get this to work from the js being soley in the subproject?Big Chungus
12/20/2021, 9:59 AM[module-name].js
file?Dirk Hoffmann
12/20/2021, 10:01 AM<body>
<div id="root"></div>
<script src="minimal_compose-web.js"></script>
</body>
$ cp web/src/jsMain/resources/index.html ./web/build/compileSync/main/productionExecutable/kotlin/
$ chrome ./web/build/compileSync/main/productionExecutable/kotlin/index.html
it works if I copy over the index.html to the generated productionExecutable.
But neither works on ./gradlew jsBrowserRun
nor on ./gradlew web:jsBrowserRun
Big Chungus
12/20/2021, 10:28 AMDirk Hoffmann
12/20/2021, 10:29 AMminimal_compose-web.js
on jsBrowserrunBig Chungus
12/20/2021, 10:29 AMDirk Hoffmann
12/20/2021, 10:29 AMinclude(
":common",
// ":android",
":desktop",
":web"
)
Big Chungus
12/20/2021, 10:30 AMweb.js
Dirk Hoffmann
12/20/2021, 10:32 AMminimal_compose-web.js
instead of web.js
??Big Chungus
12/20/2021, 10:35 AMDirk Hoffmann
12/20/2021, 10:37 AMBig Chungus
12/20/2021, 10:38 AMDirk Hoffmann
12/20/2021, 10:38 AMBig Chungus
12/20/2021, 10:40 AMDirk Hoffmann
12/20/2021, 10:40 AMBig Chungus
12/20/2021, 10:41 AMDirk Hoffmann
12/20/2021, 10:41 AMBig Chungus
12/20/2021, 10:41 AMDirk Hoffmann
12/20/2021, 10:41 AMBig Chungus
12/20/2021, 10:42 AMDirk Hoffmann
12/20/2021, 10:43 AMBig Chungus
12/20/2021, 10:47 AMDirk Hoffmann
12/20/2021, 10:50 AM