To start a new Kotlin project that targets JavaScript, perform the following steps:
- Open up IntelliJ IDEA and select Create New Project:
- Navigate to the Kotlin project templates in the left-hand side of the dialog, select JS | IDEA, and then click NEXT. This will ensure that our newly created project is configured to target JavaScript using the IntelliJ IDEA build system:
- Next, we set our project name and project location. You can keep the Project SDK and Kotlin JS library fields as their ...