rzschoch
rzschoch

Reputation: 358

Using external handlebars templates with Marionette in Rails Asset Pipeline

Is it possible to reference external Handlebars template files without using Marionette.Async?

I just want to better organize my template snippets (Rails Asset Pipeline), so asynchronous loading isn't required but individual files are. Are there any recommendations?

Thanks!

Upvotes: 3

Views: 2519

Answers (1)

Derick Bailey
Derick Bailey

Reputation: 72878

the wiki lists a plugin that makes it easy to work with Handlebars, and a simple way to make handlebars work with out any plugins.

https://github.com/derickbailey/backbone.marionette/wiki/Using-handlebars-templates-with-marionette

https://github.com/asciidisco/Backbone.Marionette.Handlebars

these might do what you need. if not, it would be a good place to start, to get the functionality you need.

Upvotes: 3

Related Questions