Skip to content

Commit

Permalink
Document zero-configuration installation of Kotlin/JS packages 馃帀
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonya committed Mar 15, 2018
1 parent eef1437 commit 74bdadf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ You can skip this step if you have `create-react-app` already installed.
To develop applications in Kotlin that use React you need to use a [Kotlin wrapper for React](https://www.npmjs.com/package/@jetbrains/kotlin-react).
You can find a documentation for it and examples in the [module's repository](https://github.com/JetBrains/kotlin-wrappers/tree/master/kotlin-react).

### Adding Kotlin/JS packages

**No configuration is required** to add packages written in Kotlin to a project based on Create React Kotlin App, we take care of it for you.
Simply run `npm install kotlinx-coroutines-core` to add [https://www.npmjs.com/package/kotlinx-coroutines-core](coroutines) support,
or `npm install @jetbrains/kotlin-react-router-dom` to install the [wrapper for React Router DOM](https://www.npmjs.com/package/@jetbrains/kotlin-react-router-dom).

### Creating an App

To create a new app, run:
Expand Down

0 comments on commit 74bdadf

Please sign in to comment.