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