You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently plop relies entirely on the default handlebar implementation with {{ and }} delimiting handlebars in template files.
I want to create NextJs project generators. My nextjs template project however contains a lot of double-curly-brackets as part of the code.
For example: <TestComponent property={{key1: 123, key2:456}} />
When running plop on these files, it presents error messages, because handlebarsJs tries to interpret the double-curly-brackets as handlebars but doesn't understand their content.
To eliviate this problem I would like to simply adjust the delimiters of my handlebars to something like <% and %> for example.
The text was updated successfully, but these errors were encountered:
plop uses handlebars under the hood, so they would need to implement that feature first in order for us to support it. If this is already a feature of handlebars and it's somehow escaped my knowledge, please correct me. I'd love for plop to support this.
We've talked in the past about retooling plop to handle multiple templating languages, but it's been seen (so far) as not worth the effort.
Currently plop relies entirely on the default handlebar implementation with
{{
and}}
delimiting handlebars in template files.I want to create NextJs project generators. My nextjs template project however contains a lot of double-curly-brackets as part of the code.
For example:
<TestComponent property={{key1: 123, key2:456}} />
When running plop on these files, it presents error messages, because handlebarsJs tries to interpret the double-curly-brackets as handlebars but doesn't understand their content.
To eliviate this problem I would like to simply adjust the delimiters of my handlebars to something like
<%
and%>
for example.The text was updated successfully, but these errors were encountered: