node npm grunt工具 package.json Gruntfile.js相关

安装grunt工具是方法参考链接。。。http://www.bluesdream.com/blog/windows-installs-the-grunt-and-instructions.html

要用grunt工具,必须有gruntfile.js和package.json

package.json 的出现可以是直接初始化,命令grunt init

需要安装初始化工具

原文地址:https://www.cnblogs.com/luoluo8/p/5900526.html