Skip to content

About

Hypernova Directive for Handlebars.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypernova Handlebars Directive

Hypernova Directive for Handlebars

This directive enables you render a Hypernova placeholder for Nova Proxy using Handlerbars Partials

Installation

You can install the package from npm.

npm i --save hypernova-handlebars-directive

Setup

You need to register the partial first using the helper function provided.

const hbs = require('hbs');
const directive = require('hypernova-handlebars-directive');

directive(hbs)

Usage

You need to provide a name attribute in the expression at least.Also you can provide the data passing a variable on the data attribute or using a attribute with the follow convention data-<key> to set a individual value.

{{>nova name="Navbar" data=data data-brand="Ara Framework" }}

About

Hypernova Directive for Handlebars.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages