amui-hbs-helper
v2.2.0
Published
Amaze UI widget partials and helpers.
Downloads
5
Maintainers
Readme
Amaze UI Widget hbs helper
Amaze UI widget Handlebars partials and helpers.
Usage
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/