gulp-file-wrapper:将文件内容包装在另一个文件中的 gulp 插件

时间:2021-06-27 19:22:44
【文件属性】:
文件名称:gulp-file-wrapper:将文件内容包装在另一个文件中的 gulp 插件
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-27 19:22:44
JavaScript 吞咽文件包装器 允许你在另一个文件中注入一个文件。 布局.html <!DOCTYPE html > < html lang =" en " > < head > < meta charset =" UTF-8 " > < title > </ title > </ head > < body > %%yield%% </ body > </ html > 索引.html < p> INDEX.HTML 关于.html < p> ABOUT.HTML gulpfile.js var gulp = require ( 'gulp' ) , layout = require ( 'gulp-file-wrapper' ) ; gulp . task ( 'default' , function ( ) {
【文件预览】:
gulp-file-wrapper-master
----.gitignore(26B)
----package.json(613B)
----index.js(651B)
----LICENCE(1KB)
----README.md(621B)
----example()
--------package.json(135B)
--------layout.html(130B)
--------gulpfile.js(205B)
--------about.html(11B)
--------index.html(11B)

网友评论