Working with Kotlin and JavaScript Modules
Working with Kotlin and JavaScript Modules
Last Updated | 30 September 2016 |
In this tutorial we'll see how to
- Configure modules when using IntelliJ IDEA
- Configure modules when using Maven or Gradle
- Use Kotlin in the browser with AMD
- Use Kotlin from node.js with CommonJS
Configuring Modules with IntelliJ IDEA
Kotlin generate JavaScript code that is compatible with Asynchronous Module Definition (AMD), CommonJS and Universal Model Definition (UMD).
- AMD is usually used on the client-side in the browser. The idea behind AMD is to load mo