Skip to content

davis/plugin-ember-hbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

plugin-ember-hbs

SystemJS plugin for Ember Handlebars.

Installation

jspm install hbs=github:n-fuse/plugin-ember-hbs@your-ember-version

Usage

Note: This plugin imports Ember from the ember namespace. So it has to be mapped in your System.config

System.config({
  map: {
    ember: "path/to/ember/lib"
  }
});

Import compiled template as variable

import indexTpl from './index.hbs!';
import componentTpl from './component.hbs!';

Ember.TEMPLATES.index = indexTpl;

Ember.Component.create({
  layer: componentTpl
});

License

MIT license

About

Compile HBS files on load

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors