Questions tagged [compose-for-web]
4 questions
3
votes
1 answer
Make use of web component library in Kotlin Compose for Web
I want to tinker with Kotlin Compose for Web a bit.
In some of my past web projects, I made use of some web components of the Clarity Design System (CDS).
In a JavaScript or TypeScript project,
you first need to install both npm packages@cds/core…

Endzeit
- 4,810
- 5
- 29
- 52
1
vote
2 answers
How to use Context in a compose multiplatform projeect?
I'm trying to migrate an Android Jetpack Compose project to compose multiplatform. How can we use context in the composables.
val context = LocalContext.current
I can't access the LocalContext

Anmol Singh Sahi
- 75
- 5
1
vote
0 answers
Compose for web: Uploading a file submitted via a multipart form
I am trying to upload a file from Compose for Web form using Ktor.
My server code is based on the example found in the Ktor…

HPage
- 1,412
- 20
- 27
0
votes
1 answer
Unable to setup compose for web project with intelliJ IDE
I want to build a website using kotlin and the compose for web framework. For that I just used the intelliJ project creation wizard like this :
Then I just clicked the button Run 'build.gradle.kts' and I had this message :
warning: default…

Tessan
- 49
- 1
- 9