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
Ex. say you have a button.twig file with the JSON data for that button.twig file living in a separate sibling folder (let's say you want to organize examples and variations of using a particular component separately).
Even though button.json is in a separate folder than button.twig, Pattern Lab still correctly picks this up and compiles everything correctly without throwing any errors.
The problem pops up when dealing with psuedo pattern variations (ex. button~large.json) which Pattern Lab currently fails to grab the correct template path for (the template path to the original button.twig file).
Good news: I've got a working fix for this that I'll be putting in shortly!
The text was updated successfully, but these errors were encountered:
sghoweri
changed the title
Bug: Builder.php Can't Find Template File for Psuedo-Patterns
Bug: Builder.php Can't Correctly Find Template File for Psuedo-Patterns
Oct 2, 2017
Ex. say you have a
button.twig
file with the JSON data for thatbutton.twig
file living in a separate sibling folder (let's say you want to organize examples and variations of using a particular component separately).Even though
button.json
is in a separate folder thanbutton.twig
, Pattern Lab still correctly picks this up and compiles everything correctly without throwing any errors.The problem pops up when dealing with psuedo pattern variations (ex.
button~large.json
) which Pattern Lab currently fails to grab the correct template path for (the template path to the originalbutton.twig
file).Good news: I've got a working fix for this that I'll be putting in shortly!
The text was updated successfully, but these errors were encountered: