Is there any documentation/tutorial/sample about s...
# javascript
m
Is there any documentation/tutorial/sample about setting up gradle kotlin js react project? Everything I can find is either based on npm, not gradle (npm create kotlin react command) or on older
kotlin-frontend-plugin
. For example [modules page](https://kotlinlang.org/docs/reference/js-modules.html) mentions
compileKotlin2Js
config option which is not present in the new kotlin plugin.
s
Hi! We’ve updated our tutorial for building WebApps with React and Kotlin/JS very shortly ago, it’s currently awaiting the next deployment of the page. I’ll ping you once it’s online!
🎉 1
m
awesome
s
Hello again! The updated version of the React+Kotlin/JS hands-on is published – you can find it at https://play.kotlinlang.org/hands-on/Building%20Web%20Applications%20with%20React%20and%20Kotlin%20JS/01_Introduction Note that it targets 1.3.70 (eap), so you already get a taste of the new Gradle tasks. 🙂
👍 1
s
Will this play nicely through Multiplatform? Love the updated tutorial BTW
s
@Sean Keane yes, the config seen here can also be used in the context of the JavaScript target in multiplatform; the DSLs are shared! 🙂
s
Do you know of any similar Kotlin Playground for publishing NPM packages by any chance? This is great to here :)
s
@Sean Keane we don’t have an official one ready, but I’ll note your interest!
s
Please! Im looking to make this the core foundation of all our SDK’s we support. I found some articles of publishing a NPM module but havent gotten it to work as of yet. Ill keep at it in the meantime