grunt-template-bundler:Grunt插件可连接和最小化html模板

时间:2021-05-21 09:09:30
【文件属性】:
文件名称:grunt-template-bundler:Grunt插件可连接和最小化html模板
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-21 09:09:30
JavaScript 咕unt声模板捆绑器 Grunt插件可连接和最小化html模板 入门 该插件需要Grunt。 如果您以前从未使用过 ,请务必查看“指南”,因为它说明了如何创建以及安装和使用Grunt插件。 熟悉该过程后,可以使用以下命令安装此插件: npm install grunt-template-bundler --save-dev 插件安装完成后,可以使用以下JavaScript代码在您的Gruntfile中启用该插件: grunt . loadNpmTasks ( 'grunt-template-bundler' ) ; “ grunt-template-bundler”任务 概述 在项目的Gruntfile中,将一个名为templateBundle的部分添加到传递给grunt.initConfig()的数据对象中。 grunt . initConfig ( { templat
【文件预览】:
grunt-template-bundler-master
----.gitignore(31B)
----tasks()
--------grunt_template_bundler.js(2KB)
----README.md(2KB)
----test()
--------fixtures()
--------actual()
--------expected()
--------bundler_test.js(1KB)
----LICENSE(1KB)
----Gruntfile.js(1KB)
----.jshintrc(191B)
----package.json(768B)
----.editorconfig(214B)

网友评论