how-to-use-grunt-in-magento-2

In this article, you will be learning about how one can use grunt in Magento 2. Before starting the installation, Please rename the existing files package.json.sample and Gruntfile.js.sample in your root folder as package.json and Gruntfile.js respectively. Follow below steps to use grunt in Magento 2: Step 1: Install Node.js Step 2: Install Grunt CLI …