简体   繁体   English

GruntJS-如何在grunt.js中添加一行?

[英]GruntJS - How to add a line to grunt.js?

I am a total newbie to this so I can't figure this one out. 我是这个新手,所以我不知道这个。 I have successfully installed GruntJS via npm, but now have to add something to my grunt.js file. 我已经通过npm成功安装了GruntJS,但是现在必须在grunt.js文件中添加一些内容。 How do I do it? 我该怎么做? Does this file need to be placed in my projects JavaScript folder? 此文件是否需要放置在我的项目JavaScript文件夹中?

The gruntfile should be placed at the root of your project. gruntfile应该放在项目的根目录。

I would start by reading the docs . 我将从阅读文档开始。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM