CHAPTER 2

image

How to Use Grunt in Your Project

In the previous chapter, you received a brief introduction to Grunt and the benefits of using Grunt in your projects. This chapter will take a more detailed look at Grunt, how to install Grunt, and how to use Grunt in your projects. Before looking at Grunt itself, it is important to have a good understanding of Node.js. Grunt is built on top of Node.js, so having a good understanding of Node.js and how modules operate within Node.js will make learning and understanding Grunt easier.

Node.js

Node.js is an application platform that allows developers to implement event-driven applications built on top of ...

Get Pro Grunt.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.