Skip to content

🚲 Handlebars render driver for Sapling

License

Notifications You must be signed in to change notification settings

saplingjs/render-driver-handlebars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Handlebars driver for Sapling

GitHub Workflow Status Codecov Version License

This package allows using the Handlebars templating engine with Sapling.

Installation

Via the CLI (recommended)

This package can be installed via the Sapling CLI via the project creation questionnaire;

sapling create

Or added to an existing project by re-running the questionnaire;

sapling edit

Manually

Alternatively, if you prefer to install it manually, you can install it via npm;

npm install --save @sapling/render-driver-handlebars

Then, modify your config.json to select the Handlebars driver;

{
    "render": {
        "driver": "Handlebars"
    }
}

Usage

Once installed, all views in views/ will be run through the Handlebars templating engine. Refer to their documentation for instructions on how to use it.

Questions & Issues

Bug reports, feature requests and support queries can be filed as issues on GitHub. Please use the templates provided and fill in all the requested details.

Changelog

Detailed changes for each release are documented in the release notes.

License

MIT

Releases

No releases published

Sponsor this project

 

Packages

No packages published