Dev

constructor(contentRoot: String, script: String, api: String? = null)(source)

Parameters

contentRoot

The path to serve content from, which includes the Kobweb index.html file.

script

The path to the final JavaScript file generated from the user's Kotlin code.

api

A path to the API jar that may have been generated by the Kobweb project. If present, it can be used to extend the behavior of the Kobweb server.