wintersmith-riot:用于 Wintersmith 的 Riot 编译器插件

时间:2021-06-01 23:26:30
【文件属性】:
文件名称:wintersmith-riot:用于 Wintersmith 的 Riot 编译器插件
文件大小:15KB
文件格式:ZIP
更新时间:2021-06-01 23:26:30
JavaScript 温特史密斯暴动 用于插件 安装: npm install wintersmith-riot -g将wintersmith-riot添加到依赖项下的 package.json 文件中: "dependencies": { ... "wintersmith-riot": "*" } 然后在 Wintersmith 配置中将wintersmith-riot添加到您的插件中 配置 默认情况下,wintersmith-riot 插件匹配脚本文件夹中的任何 .tag 文件。 您可以通过在 config.json 的riot部分中设置fileGlob键来修改它。 默认值: "riot": { "fileGlob": "**/*.*(tag)", "outExtension": ".js" } 用法 内容文件夹中的任何 .tag 文件(与 f
【文件预览】:
wintersmith-riot-master
----example()
--------contents()
--------config.json(54B)
--------templates()
--------package.json(104B)
----LICENSE(1KB)
----README.md(952B)
----.gitignore(27B)
----index.js(73B)
----plugin.coffee(839B)
----package.json(330B)

网友评论