Example using handlebars-helpers in a web browser with browserify.
This is a simple example showing how to use browserify to bundle up an app using handlebars-helpers.
The app
can be found in src/app.js and is used in src/index.html.
To build the app
run the following command:
$ gulp
This will browserify app.js
and create a distribution file in _gh_pages/app.js
.
Load _gh_pages/index.html
in a browser and open up the console to see sample output.
Use the following command to run a browser-sync server and have live-reloads. Making changes to src
files will rebuild and reload the example.
$ gulp dev
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Generate readme and API documentation with verb:
$ npm install verb && npm run docs
Or, if verb is installed globally:
$ verb
Install dev dependencies:
$ npm install -d && npm test
Brian Woodward
Copyright © 2016, Brian Woodward. Released under the MIT license.
This file was generated by verb, v0.9.0, on May 18, 2016.