sceg
v0.9.0sceg
Styled content elements guide.
Sample
Element Guide (bootstrap sample)
Usage
$ npm install -D sceg
import * as sceg from 'sceg';
sceg.load().then((html) => {
sceg.output(html, './sample/index.html');
});
sceg.load({
layout: './default/layout/index.pug',
}).then((html) => {
sceg.output(html, './sample/index-from-pug.html');
});
sceg.get().then((data) => {
const json = JSON.stringify(data, null, 2);
sceg.output(json, './sample/index.json');
});
Plugins
©YusukeHirao(@cloud10designs), MIT license.