Hi, I am writing webapp with Kotlin on JVM (api +...
# announcements
j
Hi, I am writing webapp with Kotlin on JVM (api + html) and was using kotlinx.html to generate HTML. But JS in HTML is not type checked. I was wondering if there is a better way to generate kotlin to JS along with kotlinx.html. I would think js could be generated before hand from kotlin in “generate-sources” step and kotlinx.html can somehow use it…!?
n
you could have a kotlin-js module and use that to generate the js files, it could even make use of shared logic in a common module