2017年6月30日
摘要: 经过前面的学习,将测试的Gruntfile整合在一起! /** * Created by Administrator on 2017/6/22. */ module.exports = function(grunt){ "use strict"; grunt.initConfig({ pkg: gr 阅读全文
posted @ 2017-06-30 12:01 益州府龙骑校尉 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Gruntfile由以下几部分构成: "wrapper" 函数 项目与任务,目标配置 加载grunt插件和任务 自定义任务 1、wrapper函数(包装函数) 每一个 Gruntfile (和grunt插件)都遵循同样的格式,编写的Grunt代码都必须放在此包装函数内:相当于是gruntfile的入 阅读全文
posted @ 2017-06-30 11:00 益州府龙骑校尉 阅读(693) 评论(0) 推荐(0) 编辑