Join Slack
Powered by
how to write SCSS using kotlin/js?
# javascript
a
Anant Kumar Gupta
12/19/2022, 2:20 PM
how to write SCSS using kotlin/js?
b
Big Chungus
12/19/2022, 2:38 PM
Enable scss support in gradle dsl and then shove your scss files into sourceSet resources. You can then refer to them via relative paths ./my/scss/file.scss (root is the resources folder here)
Big Chungus
12/19/2022, 2:40 PM
https://github.com/mpetuska/kmdc/blob/compose-1.2.1/sandbox/build.gradle.kts#L15
a
Anant Kumar Gupta
12/19/2022, 2:58 PM
Can't we write scss code directly from kotlin?
b
Big Chungus
12/19/2022, 5:19 PM
No, only css via kotlin-styled
a
Anant Kumar Gupta
12/19/2022, 5:28 PM
Okay thanks
165
Views
Open in Slack
Previous
Next