how to use <style lang='scss'> in vue sfc? #47
-
i want to use scss style in vue SFC file, but how to do that use loadModule? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi fgcp020, Maybe you can use the following example https://github.com/FranckFreiburger/vue3-sfc-loader/blob/main/docs/examples.md#using-another-style-language-stylus and replace stylus with https://github.com/medialize/sass.js/ |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply! I've tried the sass.js, but it seems it's API does not support ... Woul you please try it ? sincerely. |
Beta Was this translation helpful? Give feedback.
-
At the moment I have no decent solution for this. |
Beta Was this translation helpful? Give feedback.
At the moment I have no decent solution for this.
I cannot find a JS sass implementation with a sync API. The closest solution is sass/dart-sass#25