Setting Up

Kilua applications are built with Gradlearrow-up-right. The official Kotlin Multiplatform gradle plugin is used to manage NPM dependencies, pack bundles (via webpackarrow-up-right) and test the application using Karmaarrow-up-right. By using Gradle continuous build, you also can get hot module replacement (HMR) feature (apply code changes in the browser on the fly).

circle-info

Note: HMR is currently supported only when developing for Kotlin/Js target. For Kotlin/WasmJs you can use simple hot reload.

Requirements

To build a typical Kilua application you should have some tools installed on your machine and available on the system PATH:

circle-info

Note: Make sure you are building Kilua applications on the local file system.

Last updated