Last active
February 6, 2020 06:33
-
-
Save melvinstanly/0651a433309b1350baa50163c660923b to your computer and use it in GitHub Desktop.
Installing Grunt in Project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NB : Node should be installed | |
Installing grunt CLI globally | |
* npm install -g grunt-cli | |
Go to project folder and enter | |
* npm install grunt --save-dev | |
Install the modules required | |
* npm install grunt-contrib-watch --save-dev | |
* npm install grunt-contrib-concat --save-dev | |
* npm install grunt-contrib-cssmin --save-dev | |
* npm install grunt-contrib-uglify --save-dev | |
N.B : Use `sudo` before npm in cli if using mac os( Not necessary.Only if there is any error ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment