Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

juice-pack

hongyanh13MIT0.1.6

A lightweight HTML partial compiler for web designers.

juice, pack, HTML, partial, compiler, web, template

readme

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