Skip to content

kdomskia/template-frontend-web

Repository files navigation

Kdomskia Frontend Template (Web)

This is a Kotlin Multiplatform project targeting Web (DOM, JS) powered by Kdomskia.

Project Structure

  • /composeApp contains the UI and shared code for your applications.
    It includes the following source sets:
    • domMain → code specific to Web (DOM)
    • jsMain → entry point for Kotlin/JS app

Build and Run Web Application

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

Renaming the Project

Before starting development, rename parts of the project so they match your app’s name and identity:

  • settings.gradle.kts → update rootProject.name
  • composeApp/build.gradle.kts → update appId
  • composeApp/src/jsMain/resources/index.html → update <head><title>
  • Update the package name of classes under com.template to your own package namespace.

Learn more at:

About

Kdomskia template targeting Web (DOM, JS).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published