i created a new kmp compose project and i have 2 modules in the project root (composeApp) and (shared), my question is regarding adding new dependencies and shared code (expect actual functions), since its possible to add all the functions and dependencies in composeApp what is the purpose of shared?
p
Pablichjenkov
06/05/2024, 5:07 PM
How did you generate the project? The current kmp website doesn't use
Humm I see, you picked the one that includes the server with ktor. In such a case, that
shared
module is to share domain, data, models and anything shared between client and server Apps.
But all the ui compose stuff will go in the
composeApp
🙌 1
t
Taha
06/05/2024, 5:49 PM
yes i picked the one with the server, so all app dependencies go in composeApp but shared dependencies and models between apps and server go in shared?