I’m trying to use the rmwc library in a Kotlin/JS project and I’m having issues rendering the proper styles for the components because I can’t find the Kotlin equivalent of this JS code:
I assumed that by just importing the
rmwc npm package it’d include the CSS automatically but that doesn’t seem to be the case .
The only way I found to do this is to add
<link href="https://unpkg.com/@firstname.lastname@example.org/dist/mdc.button.css" rel="stylesheet"> to the
index.html but I was wondering if there is a way to do this directly in Kotlin?
Can anyone give me a hand on this?