Alessandro Marcolini
01/27/2024, 2:01 AMNick
01/27/2024, 5:03 PMmain
in a JS module. The examples have a main for the docs app, which depends on the apps. so this won’t work if the apps have their own main. So I split the apps into a library without their launch part so the docs can depend on these. Then the standalone app uses a different module to launch and the docs module launches each app from its lib.Alessandro Marcolini
01/30/2024, 9:30 PMNick
01/31/2024, 4:48 AMShared
- commonMain // common application code
Web
- jsCommon // common code for web
- jsMain // launch code for JS
- wasmJsMain // launch code for WASM
Desktop
- main // launch code for Desktop