From the course: Grunt.js: Web Workflows
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Processing Sass files - Grunt.js Tutorial
From the course: Grunt.js: Web Workflows
Processing Sass files
- Sass has become a new standard for working with CSS. It adds features like variables, mixins, partials, and a lot more. So this is going to be a great process for us to add to Grunt.js. Now there's a couple of different plugin options that you can use to process it. So if you go to the plugin's search option on the Grunt.js website and you do a search for Sass, you'll see that the first one that comes up is this contrib-sass plugin. And that one's okay but the issue with it is that you do have to have Ruby installed and that can be a complex installation. Now if you have that, this is a great option. It's actually probably the better option. There's another one called grunt-sass and the advantage of this one is that it was written with C++ and it runs using something called node-sass. And this means that it's going to be faster but as it says on this website, it's going to be missing some of the latest and greatest features in Sass. So you can go to this website to check all the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.