Hello.
I already have an android project onto which i've enabled KMM and i am using to build the shared module for ios, it contains the business layer, with some gralphql, sqldelight db, and that's about it.
Now I would like to expose this code to web as well. There's a react app already in place, from which I'd like to import the js artifacts that contain the logic i wrote in kotlin already.
Every sample app I've found so far includes an index.html and some actually have the react app inside the project.
How can i simply, simply setup my existing project to only allow a simple generation of js artifacts that can later be imported. (Or is this not the best practice for my specific scenario?!)
I've set this already
but now i'm stuck. Not sure what else to do. Also, not sure what the ./gradlew command could be to generate those artifacts.
Or perhaps I am not looking in the right direction ?! A bit of help would be greatly appreaciated 😞
Thank you !!
ł
Łukasz Nowakowski
06/29/2023, 4:09 PM
I think you can look for the answer #javascript or #react. I think similar questions have already been asked there.