【文件属性】:
文件名称:metalsmith-kss:添加 KSS 输出的 Metalsmith 插件
文件大小:13KB
文件格式:ZIP
更新时间:2021-07-05 07:44:43
JavaScript
金属匠kss
用于创建 KSS 文档的 Metalsmith 插件。
地位
安装
$ npm install metalsmith-kss
命令行使用
通过 npm 安装,然后将metalsmith-kss密钥添加到您的metalsmith.json插件中,如下所示:
{
" plugins " : {
" metalsmith-kss " : {
" ... " : " ... "
}
}
}
Javascript 用法
将options传递给 kss 插件并use方法将其传递给 Metalsmith:
var kss = require ( 'metalsmith-kss' ) ;
metalsmith . use ( kss ( {
source : 'css/' , // Required: Where t
【文件预览】:
metalsmith-kss-master
----.gitignore(42B)
----templates()
--------kss.hbs(1KB)
----package.json(740B)
----.travis.yml(38B)
----LICENSE(1KB)
----README.md(2KB)
----lib()
--------index.js(3KB)
----test()
--------index.js(2KB)
--------fixtures()