amui-hbs-helper

2.2.0 • Public • Published

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/

/amui-hbs-helper/

    Package Sidebar

    Install

    npm i amui-hbs-helper

    Weekly Downloads

    12

    Version

    2.2.0

    License

    MIT

    Last publish

    Collaborators

    • minwe