Hey guys, how do I deploy my KotlinJs + React web app? I have a KMP common module in the app. I am n...
n
Hey guys, how do I deploy my KotlinJs + React web app? I have a KMP common module in the app. I am new to this, and there are so many tasks,
jsBrowserProductionWebpack, browserProductionWebpack
, just
build
which is mentioned in the official codealong from Jetbrains. Webpack generates tons of files, build just generates an
index.html
and a
.js
file. I am guessing that after the files are generated then it's not an entirely Kotlin related question but any pointers on where to look/ what to read, what the easiest setup to deploy the website would be appreciated. I cannot just use Heroku like in the JetBrains guide as I have some issues with that approach and I just want to get the site up and running.
This might help someone, seems to work decently https://gist.github.com/wh1tney/2ad13aa5fbdd83f6a489
r
Kotlin/JS app is just a static html site. You don't need Heroku, which is used to host server side applications. You just need some static hosting like Netlify or GitHub pages.
d
button