Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 504 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 504 Bytes

Juice Pack

A lightweight HTML partial compiler for web designers.

Install Juice Pack

npm install juice-pack -g

Insert partials

In your HTML, use {'your-partial-path'} to insert partials, please use relative path.

Compile HTML

Run juice-pack template-folder export-folder

Watch file changes

Run juice-pack template-folder export-folder -w

Disable recurse subdirectories

Run juice-pack template-folder export-folder --nr

TODOs

  • Pass-in parameters to partials