From the course: CSS to Sass: Converting an Existing Site

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Install Grunt-Sass

Install Grunt-Sass

From the course: CSS to Sass: Converting an Existing Site

Start my 1-month free trial

Install Grunt-Sass

- So, now that we have at least version 0.12 of Node.js installed, we can proceed with installing and configuring libSass. And to do that, we could install node-sass directly, but to make it easier to interact with and leverage other MPM modules, we'll be using the Grunt task runner. If you're not familiar with Grunt, it is a node.js based tool to help you execute various MPM modules. There are other task runners, such as Gulp, and Broccoli that also offer node-sass tools. So, if you're already using another task runner, you can use the Sass plugin for that task runner if you wish. Be sure to use the plugins mentioned here, as they use libSass instead of Ruby Sass. To use Grunt, you first have to install the Grunt CLI, or command line interface tool, globally, which will provide you with a Grunt command. To do that, open up the command line and then run npm install -g for global, grunt-cli. That will then attempt to install the latest version of Grunt CLI. If the install failed with a…

Contents