1.0.0 • Published 6 years ago

pugboom v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

PugBoom

A fast html webpage generator

Using pug template include and mixins, quickly setup a demo page without coding layout and styles.

Usage

install pug-cli for pug to html compilation

$ npm install -g pug-cli

include library layout template and import mixin note: use root path '/' for each include

include /template.site/index
include /template.site/mixin

block site_block
	+site_mixin(arg1, ...args)

and then use pug-cli to compile note: set basedir for template with option -b

$ pug -b node_modules/pugboom/lib <input file or dir> -o <output dir>

CSS & JS

Need to manuly handle with css and js: link include and confilcts

For study purpose only.