Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
js
src
README.md
gulpfile.js
index.html
package.json

README.md

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: