Sass is the most mature, stable, and powerful professional grade CSS extension language in the world.
Sass is completely compatible with all versions of CSS. We take this compatibility seriously, so that you can seamlessly use any available CSS libraries.
The style file extensions will be .scss
.
Use _
at the beginning of any .scss
file so it won’t compile.
I made this template for future projects I do using Sass.
npm install
.This project runs on node.js
. Install Node for npm to use.
Run npm install
in the project directory and make sure it passes.
In this project you can run the following Scripts:
npm css-compile
Compile all the sass code into the ./src/scss/
folder.
Use _
at the beginning of any .scss
file so it won’t compile.
npm run css-minify
Does the same as npm css-compile
and then minifies the compiled files.
This is very useful when uploading a file to production.
This project is created from Sass Boilerplate.