Primary version

Development Workflow

To run the application with Gradle continuous build, enter:
./gradlew -t run (on Linux)
gradlew.bat -t run (on Windows)
After Gradle finishes downloading dependencies and building the application, open http://localhost:3000/ in your favorite browser.
If you are working with a fullstack project, the tasks names are different. Please check this chapter for details.
You can import the project in IntelliJ IDEA and open src/jsMain/kotlin/com/example/App.kt file. You can of course use your favorite text editor.
Add some code inside the start function:
override fun start() {
// ...
root("kvapp") {
span("Hello world!")
You should see your changes immediately in the browser.
It's recommended to use Gradle from a command line (in a terminal window).