SlexAxton / require-handlebars-plugin

A plugin for handlebars in require.js (both in dev and build)
804 stars 202 forks source link

including partials from json config #212

Closed matthewstokeley closed 9 years ago

matthewstokeley commented 9 years ago

any ideas?

something with a syntax like

{{> {{header.layout}} }}

SlexAxton commented 9 years ago

I would just use Handlebars.registerPartial to register a name. Or make a helper that calls a partial.

This isn't really specific to this plugin, though, so I'm gonna close it. Feel free to reask on the Handlebars repo if my hints weren't enough.

Thanks!