how to run scss in npm code example
Example 1: node-sass run
npm install node-sass
node-sass ./styles.scss -o ./styles.css
Example 2: scss npm
var sass = require('node-sass');
sass.render({
file: scss_filename,
[, options..]
}, function(err, result) { /*...*/ });
// OR
var result = sass.renderSync({
data: scss_content
[, options..]
});