We use cookies for commenting and analytics. Share on Facebook, Linkedin, TwitterSass is an excellent tool to make CSS more dynamic, but it is still a burden for many of us because of the compiling settings.
Sass comes with a command-line interface (CLI), which we can configure widely; this is the one we will run through npm scripts.
In this tutorial, we – and you should – use Dart Sass which is the default setting on install when we run the npm install sass command. To use npm (to install Sass), we first have to install Node.js, which we can easily do.