1.

How Do You Install A Grunt Plugin?

Answer»

The syntax REMAINS name but the only thing which changes is module/plugin name.

  1. NPM INSTALL --save-dev

For example, to install UGLIFY plugin:

  1. npm install grunt-contrib-uglify --save-dev

By default, it always installs the latest version available. But if you wish to install SPECIFIC version then same you can include in the command.

  1. npm install @version --save-dev

The syntax remains name but the only thing which changes is module/plugin name.

For example, to install uglify plugin:

By default, it always installs the latest version available. But if you wish to install specific version then same you can include in the command.



Discussion

No Comment Found