pattern-lab / patternengine-node-handlebars

ARCHIVED - The Handlebars engine for Patternlab/Node
MIT License
10 stars 9 forks source link

Handlebars not supporting styleModifier #11

Closed udg-sabrina-nebauer closed 7 years ago

udg-sabrina-nebauer commented 7 years ago

I am using Pattern Lab Node v1.2.0 on Mac, using the grunt configuration.

Expected Behavior

Including atoms like {{> atoms/form-items/label-field:visuallyhidden }} should work like described here: http://patternlab.io/docs/pattern-stylemodifier.html

Actual Behavior

When running patternlab via grunt, I'm getting "Warning: The partial atoms/form-items/label-field:visuallyhidden could not be found Use --force to continue." and building stops. Atom is not included in file.

bmuenzenmeyer commented 7 years ago

Per the readme, handlebars had a better way of doing this. https://github.com/pattern-lab/patternengine-node-handlebars