I tried include them as css:
<link rel="stylesheet" type="text/css" href="src/coffee/card.coffee"/> <link rel="stylesheet" type="text/css" href="src/scss/card.scss"/>
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
If you’re willing to use npm, see node-sass, it is an npm package that compiles your sass into css. And then you’ll be able to link your compiled css file in your html.
It also allows you to setup a watcher, which will recompile your styles when you make a change. More information on how to do this using npm scripts can be found here.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0