Skip to content

doowb/handlebars-helpers-browserify-example

Repository files navigation

Quick start

  • Install gulp-cli:
    $ npm install gulp-cli --global
  • Clone this package:
    $ git clone https://github.com/doowb/handlebars-helpers-browserify-example.git
    $ cd handlebars-helpers-browserify-example.git
  • Install npm dependencies:
    $ npm install
  • Run gulp to build and open the project in the browser:
    $ gulp dev

What is this?

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.

Dev

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

Author

Brian Woodward

License

Copyright © 2018, Brian Woodward. Released under the MIT License.


This file was generated by verb-generate-readme, v0.6.0, on March 20, 2018.

About

Example using handlebars-helpers in a web browser with browserify.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  
  •  

Packages

No packages published