How can I use import css files in kotlin-react. Lo...
# javascript
o
How can I use import css files in kotlin-react. Looks like there used to be a require function from the kotlin extensions package, which is now deprecated. Can anyone point me in the right direction, I can't find any documentation on this.
I currently have my css files in the resources folder
t
import - standard solution 😉
m
For recursive imports we still use
require
in a js file that we then import in our Index.kt. See here and here