Answers for "sass compile command"

CSS
3

watch scss to css

sass --watch scss:css
Posted by: Guest on April-27-2020
-1

how to compile scss to css

// Install node-sass
npm i node-sass

// In package.json:  
"scripts": {
	  ...
      "scss": "node-sass — watch scss -o css"
}

// Run the compilation
npm run scss
Posted by: Guest on April-25-2021
0

sass file

Sass is a popular preprocessor scripting language that gets compiled into css. 
There are 2 file extensions:
1) .scss (newer syntax, commonly used)
2) .sass (older syntax with strict indentation)
Learn More at https://sass-lang.com/
Posted by: Guest on September-04-2021

Browse Popular Code Answers by Language