Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Grunt Install in Magento 2 Project


Download and Install node.js DOWNLOAD

 After node.js installation Open CMD and run the following command in a command prompt:

 Step 1 : Type this code and Enter : npm install -g grunt-cli

Step 2 : cd (Example: wamp\www\yourfoldername)

Step 3 : go to your project folder and rename (remove .sample) this file package.json.sample and Gruntfile.js.sample.

Step 4 : Now enter this code in CMD : npm install

Step 5 : Enter : npm update

Step 6 : Now Open this file : (dev/tools/grunt/configs/themes.js) and apply your theme

Step 7 : Enter cmd command : grunt clean

Now refresh your browser


This post first appeared on Smita-tech, please read the originial post: here

Share the post

Grunt Install in Magento 2 Project

×

Subscribe to Smita-tech

Get updates delivered right to your inbox!

Thank you for your subscription

×