Skip to content

Latest commit

 

History

History

hb-browserify

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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: