grunt-include-files:将文件包含到 html

时间:2021-07-16 06:45:40
【文件属性】:
文件名称:grunt-include-files:将文件包含到 html
文件大小:9KB
文件格式:ZIP
更新时间:2021-07-16 06:45:40
JavaScript grunt 包含文件 将文件从选定文件夹包含到 html 文件中 入门 这个插件需要 Grunt ~0.4.5 如果您以前没有使用过 ,请务必查看指南,因为它解释了如何创建以及安装和使用 Grunt 插件。 熟悉该过程后,您可以使用以下命令安装此插件: npm install grunt-include-files --save-dev 安装插件后,可以使用以下 JavaScript 代码在 Gruntfile 中启用它: grunt . loadNpmTasks ( 'grunt-include-files' ) ; “include_files”任务 概述 在项目的 Gruntfile 中,将名为include_files的部分添加到传递给grunt.initConfig()的数据对象中。 grunt . initConfig ( { include_files :
【文件预览】:
grunt-include-files-master
----LICENSE-MIT(1KB)
----.jshintrc(191B)
----.DS_Store(6KB)
----Gruntfile.js(2KB)
----tasks()
--------.DS_Store(6KB)
--------include_files.js(1KB)
----LICENSE(1KB)
----test()
--------include_files_test.js(1KB)
--------fixtures()
--------expected()
----README.md(2KB)
----.gitignore(31B)
----package.json(940B)

网友评论