grunt-includes:包含其他文件中的内容

时间:2021-03-27 08:30:34
【文件属性】:
文件名称:grunt-includes:包含其他文件中的内容
文件大小:32KB
文件格式:ZIP
更新时间:2021-03-27 08:30:34
JavaScript 咕unt声包括 需要咕unt> = 1.0.0 将文件包含在另一个文件中的艰巨任务(请考虑包括php)。 循环导入将破坏递归策略。 全部包括保留父母和孩子的缩进 入门 使用以下命令在项目的Gruntfile.js旁边安装此grunt插件: npm install grunt-includes --save-dev 然后将此行添加到项目的Gruntfile.js : grunt . loadNpmTasks ( 'grunt-includes' ) ; 可以在找到示例站点。 选项 展平 类型: String默认值: false 将所有文件源展平到目标目录。 例如, source/file/path.html将缩短为path.html 。 横幅 类型: String默认值: '' 由grunt.template.process处理的grunt.template.process ,
【文件预览】:
grunt-includes-master
----.gitignore(33B)
----tasks()
--------includes.js(8KB)
----test()
--------cases()
--------index.js(2KB)
--------expected()
----Gruntfile.js(2KB)
----.jshintrc(214B)
----Readme.md(7KB)
----package.json(840B)
----License(1KB)
----.travis.yml(143B)
----package-lock.json(94KB)

网友评论