Join Slack
Powered by
I am trying to add an SVG resource to commonMain u...
# fleet
p
pajatopmr
06/09/2024, 7:24 AM
I am trying to add an SVG resource to commonMain using Fleet. Have not been able to find any relevant links. Short of reverse engineering the "Hello Compose" template code, how can adding resources be accomplished using Fleet?
r
Richard
06/09/2024, 7:28 AM
https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-images-resources.html#setup
Just be aware that SVG's are not working on Android, you would need to convert those to Android XML vectors. Or convert it to Kotlin code using
https://github.com/rafaeltonholo/svg-to-compose
4
Views
Open in Slack
Previous
Next