首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏Super 前端

    Grunt常用插件及示例说明

    下述给出了常用Grunt插件,并列举了部分插件示例: 插件名称 说明 Github地址 grunt-contrib-clean 清空文件和文件夹 https://github.com/gruntjs /grunt-contrib-clean grunt-contrib-copy 复制文件和文件夹 https://github.com/gruntjs/grunt-contrib-copy grunt-contrib-concat 连接、合并文件 https://github.com/gruntjs/grunt-contrib-concat grunt-svgstore (svg)从指定文件夹合并svg https://github.com 格式化 https://github.com/csscomb/grunt-csscomb grunt-contrib-less (CSS)将Less编译成css https://github.com/gruntjs (JS文件)压缩 https://github.com/gruntjs/grunt-contrib-uglify grunt-contrib-htmlmin (HTML文件)压缩 https://github.com

    61330发布于 2021-08-30
  • 来自专栏Super 前端

    Grunt常用插件及示例说明

    下述给出了常用Grunt插件,并列举了部分插件示例: 插件名称 说明 Github地址 grunt-contrib-clean 清空文件和文件夹 https://github.com/gruntjs /grunt-contrib-clean grunt-contrib-copy 复制文件和文件夹 https://github.com/gruntjs/grunt-contrib-copy grunt-contrib-concat 连接、合并文件 https://github.com/gruntjs/grunt-contrib-concat grunt-svgstore (svg)从指定文件夹合并svg https://github.com 格式化 https://github.com/csscomb/grunt-csscomb grunt-contrib-less (CSS)将Less编译成css https://github.com/gruntjs (JS文件)压缩 https://github.com/gruntjs/grunt-contrib-uglify grunt-contrib-htmlmin (HTML文件)压缩 https://github.com

    1.3K61发布于 2019-08-15
  • 来自专栏kl的专栏

    Yeoman 生成的 Angular 脚手架详解

    copy:styles gruntjs/grunt-contrib-copy 用于拷贝文件。 watch gruntjs/grunt-contrib-watch 用于监视文件的变化,然后运行指定的任务。 imagemin 使用 gruntjs/grunt-contrib-imagemin 进行图片压缩。 concat gruntjs/grunt-contrib-concat 用于拼接文件。 htmlmin gruntjs/grunt-contrib-htmlmin 压缩 html。

    1K10编辑于 2023-11-17
  • 来自专栏Super 前端

    前端自动化构建工具Grunt

    二、安装Grunt 参考Grunt官网http://www.gruntjs.net/ 安装Grunt:npm install -g grunt-cli 注意,安装grunt-cli并不等于安装了Grunt 安装Grunt和Grunt插件(https://github.com/gruntjs) 向已经存在的package.json 文件中添加Grunt和grunt插件的最简单方式是通过: npm install grunt.registerTask('default', ['clean']); } 五、地址 nodejs官网地址:https://nodejs.org/ grunt中文官网地址:http://www.gruntjs.net / grunt官网插件地址:https://github.com/gruntjs 六、源码 // package.json { "name": "test_grunt", "description

    1K42发布于 2019-08-15
  • 来自专栏熊二哥

    SpringBoot详细研究-05微服务与拾遗

    grunt: http://www.gruntjs.net/, http://www.gruntjs.net/getting-started gulpjs: http://www.gulpjs.com.cn

    1.7K100发布于 2018-01-24
  • 来自专栏腾讯NEXT学位

    JavaScript全栈开发-工具篇(上)

    Grunt 首页:http://gruntjs.com 中文:http://www.gruntjs.net 项目:https://github.com/gruntjs(包括Grunt及其各种模块) 源码 :https://github.com/gruntjs/grunt 插件:http://gruntjs.com/plugins 1.1 Grunt安装 Grunt和Grunt插件是通过npm(node grunt.registerTask('default', ['cssmin:minify', 'cssmin:combine']); //注册任务 }; 配置项属性可在Grunt插件列表http://gruntjs.com

    2.4K10发布于 2018-10-12
  • 来自专栏达达前端

    实现返回顶部-wepy小程序-前端梳理

    index.asp 构建工具 webpack中文文档 :https://www.webpackjs.com/ gulp:https://www.gulpjs.com.cn/ Grunt:https://www.gruntjs.net / Grunt中文网:https://www.gruntjs.net/ Lodash中文网:https://www.lodashjs.com/ Moment中文网:http://momentjs.cn

    88130编辑于 2022-04-29
  • 来自专栏nummy

    Grunt快速入门

    Gruntfile 现在我们该告诉 GruntJS该做哪些任务了。 Please see the getting started guide for more information on how to configure grunt: http://gruntjs.com

    89320发布于 2018-08-27
  • 来自专栏李维亮的博客

    前端自动刷新工具

    打开一个终端窗口,运行以下命令: npm install -g browser-sync 当然您也可以结合gulpjs或gruntjs构建工具来使用,在您需要构建的项目里运行下面的命令: npm install

    1.4K30发布于 2021-07-09
  • 来自专栏腾讯IMWeb前端团队

    JavaScript全栈开发-工具篇

    Grunt 首页:http://gruntjs.com 中文:http://www.gruntjs.net 项目:https://github.com/gruntjs(包括Grunt及其各种模块) 源码 :https://github.com/gruntjs/grunt 插件:http://gruntjs.com/plugins 1.1 Grunt安装 Grunt和Grunt插件是通过npm(node 安装的Grunt模块 -- grunt.registerTask(taskName, taskList):注册定义任务 以下为压缩css的任务的配置文件 配置项属性可在Grunt插件列表http://gruntjs.com

    2.3K20编辑于 2022-06-29
  • 来自专栏闲花手札

    前端工程化

    前端工程化的解决方案 早期的前端工程化解决方案 grunt( https://www.gruntjs.net/ ) gulp( https://www.gulpjs.com.cn/ ) 目前主流的前端工程化解决方案

    47220发布于 2021-08-24
  • 来自专栏编程微刊

    前端程序员常用的9大构建工具

    5:grunt www.gruntjs.net Grunt和Npm Script类似,也是一个任务执行者。Grunt有大量现成的插件封装了常见的任务,也能管理任务之间的依赖关系。

    54610编辑于 2025-05-19
  • 来自专栏企鹅号快讯

    360行,行行出状元/IT篇

    2 需要技能:环境,源码管理( 基础【Http,语法,组件,F12,Json,Websocket】框架【JQuery,AngularJS,Bower,RequireJS,GruntJS】业务【金融,教育

    82050发布于 2018-02-26
  • 来自专栏编程微刊

    2019年大前端学习指南(祈澈姑娘的学习规划)

    webpack中文文档 :https://www.webpackjs.com/ 2:gulp gulp:https://www.gulpjs.com.cn/ Grunt:https://www.gruntjs.net / 3:Grunt Grunt中文网:https://www.gruntjs.net/ 工具库: Lodash、Moment 以及 jQuery 排名靠前 1:Lodash Lodash中文网:https

    35110编辑于 2025-05-18
  • 来自专栏编程微刊

    前端程序员常用的9大构建工具

    5:grunt www.gruntjs.net Grunt和Npm Script类似,也是一个任务执行者。Grunt有大量现成的插件封装了常见的任务,也能管理任务之间的依赖关系。 ?

    4.3K31发布于 2020-12-02
  • 来自专栏Super 前端

    grunt[mismatched:define]

    } }); // 载入要使用的插件 grunt.loadNpmTasks('grunt-contrib-concat'); //https://github.com/gruntjs

    1.1K31发布于 2019-08-15
  • 来自专栏前端知识分享

    第159天:前端知识体系框架

    构建工具及包管理器: Grunt: http://gruntjs.com/ Yeoman: http://yeoman.io/ Bower: http://bower.io/ NPM: https://

    2K30发布于 2018-09-11
  • 来自专栏编程微刊

    自动调试自动编译五分钟上手

    打开一个终端窗口,运行以下命令: npm install -g browser-sync 3.当然您也可以结合gulpjs或gruntjs构建工具来使用,在您需要构建的项目里运行下面的命令: npm install

    76070发布于 2018-06-04
  • 来自专栏FreeBuf

    AWS Key disabler:AWS IAM用户访问密钥安全保护工具

    Key disabler本质上是一个Lambda函数,可以通过下列工作流来实现其功能: 工具要求 当前版本的AWS Key disabler脚本需要使用到下列组件: 1、Node.js和NPM; 2、Gruntjs

    44210编辑于 2024-04-18
  • 来自专栏达观数据

    达观数据基于RequireJS的前端模块化设计

    目前,达观大数据前端部分采用的是angularjs + requirejs + gruntjs +bowerjs的框架来实现前端设计。其中就用到了requirejs作为前端代码依赖管理工具。 更多配置的介绍可以查阅https://github.com/gruntjs/grunt-contrib-requirejs。

    1K50发布于 2018-03-30
领券