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
I am using Pattern Lab Node v2.5.1 on Mac, with Node 4.4.7, using the Gulp Edition.
In Handlebars, and possibly other engines, we are currently off-spec with our handling of callable patterns hidden by underscore-prefix.
Expected Behavior
Given a Mustache pattern at atoms/00-somegroup/_00-foo.mustache I should be able to call it as {{> atoms-foo}}.
Actual Behavior
I believe one could call this underscored pattern partial today, but you'd have to call it in the nasty longform way, as in: {{> atoms-_00-foo}}. This is the recommended workaround until we change to the correct way.
TODO:
Reproduce and fix if necessary in Handlebars
Reproduce and fix if necessary in Underscore
Reproduce and fix if necessary in Twig
The text was updated successfully, but these errors were encountered:
I am using Pattern Lab Node
v2.5.1
onMac
, with Node4.4.7
, using theGulp
Edition.In Handlebars, and possibly other engines, we are currently off-spec with our handling of callable patterns hidden by underscore-prefix.
Expected Behavior
Given a Mustache pattern at
atoms/00-somegroup/_00-foo.mustache
I should be able to call it as{{> atoms-foo}}
.Actual Behavior
I believe one could call this underscored pattern partial today, but you'd have to call it in the nasty longform way, as in:
{{> atoms-_00-foo}}
. This is the recommended workaround until we change to the correct way.TODO:
The text was updated successfully, but these errors were encountered: