handlebars-template-loader icon indicating copy to clipboard operation
handlebars-template-loader copied to clipboard

dynamic partial attributes

Open ghost opened this issue 7 years ago • 0 comments

is it possible to parse attributes from partial params. Following doesn't work

{{#*inline "myPartial"}}
  <img src="{{src}}"/>
{{/inline}}

{{> myPartial src='../../asset/img/brand.png'}}

handlebars-loader fixes this with inlineRequires. is there something similar or a workaround in handlebars-template-loader?

ghost avatar Aug 07 '17 17:08 ghost