node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »


Amaze UI Widget hbs helper

Amaze UI widget Handlebars partials and helpers.


Install hbs and amui-hbs-helper.

npm install hbs amui-hbs-helper --save

Config App

var hbs = require('hbs');
var amuiHelper = require('amui-hbs-helper')(hbs);
// view engine setup 
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'hbs');

Use Amaze UI Partial

Now you can use Amaze UI Widget in your template:

{{>slider data}}

You can run the example in ./example folder.

cd example
npm install
npm start

Open your browser and visit http://localhost:3008/