This code uses the hbsfy precompiler plugin for Browserify to compile Handlebars templates into javascript.
-
Requires Node.js
-
Download or clone this repsoitory.
-
Change directory to /uiCookbook/hb-browserify
-
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: