Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 915 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 915 Bytes

Handlebars Templates with Browserify

This code uses the hbsfy precompiler plugin for Browserify to compile Handlebars templates into javascript.

  1. Requires Node.js

  2. Download or clone this repsoitory.

  3. Change directory to /uiCookbook/hb-browserify

  4. Run npm install from a bash terminal or command prompt. This will read the package.json file and install the dependencies into the hb-browserify project folder.

npm install
  • Finally, run gulp server to load the index.html file in a web browser
gulp server

Additional reading: