i created a new kmp compose project and i have 2 m...
# compose
t
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
How did you generate the project? The current kmp website doesn't use
shared
for the umbrella module anymore. Only
composeApp
t
i created it using kmp.jetbrains.com two days ago
p
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
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?