dbashford / mimosa-handlebars

A Mimosa 2.0 module for Handleabars template compiling
0 stars 0 forks source link

mimosa-handlebars

Overview

This is a Handlebars compiler for the Mimosa build tool. This module is for use with Mimosa 2.0+. This replicates the functionality of Handlebars compiler that was built into Mimosa before 2.0.

This module targets Handlebars without Ember. If you are using Handlebars with Ember, this will likely not work well for you. You probably want mimosa-ember-handlebars.

For more information regarding Mimosa, see http://mimosa.io

Note: version 2.0+ of this module supports Handlebars 2.0+. Use version 1.3 of mimosa-handlebars if you need older versions.

Usage

Add 'handlebars' to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch or mimosa build.

Functionality

This module will compile Handlebars files during mimosa watch and mimosa build.

This module utilizes all of the built-in template behavior that comes with Mimosa's basic template compiler. See the mimosa website for more information about how templates are treated or check out the various template configuration options.

Default Config

handlebars:
  lib: undefined
  extensions: ["hbs", "handlebars"]
  helpers:["app/template/handlebars-helpers"]