Hi , As painterResource isn't available in compose...
# compose-web
w
Hi , As painterResource isn't available in compose-web , What can I use as a workaround ? I have a lot of xml vector resources that I'd like to use in my project
1
n
h
BTW if you want to convert (web) svg files, you could also take a look at: https://github.com/hfhbd/bootstrap-compose/blob/main/buildSrc/src/main/kotlin/app/softwork/bootstrapcompose/icons/ConvertSvg.kt I converted the bootstrap icons to Kotlin compose web svg api
w
I use mainly material-design-icons , so I am converting all of them , in compose-icons repo
a
There’s also an intellij plugin for this. https://plugins.jetbrains.com/plugin/18619-svg-to-compose