Integration of SASS #628
-
Hi |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't think anyone has tried it yet. I imagine you'd install it as a dev npm dependency in your build script and then add a gradle task to run it, processing any scss or sass files under your resource directory? However, I highly recommend you just work with Style blocks for now. You don't need the programmatic support of sass when you can already lean on the richer programmatic support from Kotlin! If you give me a specific example of something you want to do in an scss file, I can try to show you the equivalent Kobweb code. |
Beta Was this translation helpful? Give feedback.
I don't think anyone has tried it yet. I imagine you'd install it as a dev npm dependency in your build script and then add a gradle task to run it, processing any scss or sass files under your resource directory?
However, I highly recommend you just work with Style blocks for now. You don't need the programmatic support of sass when you can already lean on the richer programmatic support from Kotlin!
If you give me a specific example of something you want to do in an scss file, I can try to show you the equivalent Kobweb code.