This is a Kotlin Multiplatform project targeting Web (DOM, JS) powered by Kdomskia.
- /composeApp contains the UI and shared code for your applications.
It includes the following source sets:
To build and run the development version of the web app (JS, DOM), use the run configuration from the IDE toolbar
or run it directly from the terminal:
- on macOS/Linux
./gradlew :composeApp:jsBrowserDevelopmentRun
- on Windows
.\gradlew.bat :composeApp:jsBrowserDevelopmentRun
Before starting development, rename parts of the project so they match your app’s name and identity:
settings.gradle.kts→ updaterootProject.namecomposeApp/build.gradle.kts→ updateappIdcomposeApp/src/jsMain/resources/index.html→ update<head><title>- Update the package name of classes under
com.templateto your own package namespace.
Learn more at: