https://kotlinlang.org logo
#getting-started
Title
# getting-started
v

v79

02/14/2023, 9:18 PM
Thinking of dipping my toes into KotlinJS with an existing JVM-only project. Specifically, wondering if it is practical to share my data classes between my JVM backend and a Typescript/Sveltekit front-end. I guess I need to create a new module for the shared data models? The project has several modules, but is NOT a Kotlin Multiplatform project currently. Any pointers would be appreciated.
d

Don Kittle

03/09/2023, 5:06 PM
Sorry, just saw this. I'm using a multiproject for a JS frontend, kotlin backend project. It's VERY handy sharing data classes between the two projects.