Archived; this has moved to a package in the main Pattern Lab monorepo
The Demo StarterKit for Twig is meant to be used as a demo that highlights how to combine Twig and Pattern Lab. It is currently very thin. We're looking for maintainers who may be interested in making this demo the equal to if not better than the Mustache demo.
The Demo StarterKit for Twig requires the following PatternEngine:
pattern-lab/patternengine-twig
: documentation, GitHub, Packagist
This StarterKit can be installed using the following command:
php core/console --starterkit --install pattern-lab/starterkit-twig-demo
It is recommended that you do not install this StarterKit as a dependency for your Pattern Lab project via Composer.
After installation the files for this StarterKit can be found in source/
.