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
Add the ability to ignore mustache {{}} interpolation. There may be cases in which a brick uses a framework which itself has mustache syntax and we want to preserve the {{}} that's inside of the brick.
Requirements
Ability to label a file or {{}} as ignored/preserved ignore mustache.
Generated brick that doesn't parse/interpolate the labeled/preserved {{}} with cli vars
Additional Context
I have a brick file which contains a vue component.
Is there a way to define vars outside of brick.yaml? With this work around the user is prompted even though they shouldn't be, these variables aren't specific to the project/user.
Thanks for your help. I poked around documentation and didn't see it.
Description
Add the ability to ignore mustache
{{}}
interpolation. There may be cases in which a brick uses a framework which itself has mustache syntax and we want to preserve the{{}}
that's inside of the brick.Requirements
{{}}
as ignored/preservedignore mustache
.{{}}
with cli varsAdditional Context
I have a brick file which contains a vue component.
Vue uses mustache syntax to inject variables into it's components/templates. When I generate my brick I end up with this.
Not sure best way to do this. Could one of the following work?
{{! }}
{{@ }}
{{- }}
I tried
{{{}}}
but it didn't work. Thanks so much for your suppport.The text was updated successfully, but these errors were encountered: