@pattern-lab/starterkit-twig-demo

Pattern Lab's Demo StarterKit for Twig.

Usage no npm install needed!

<script type="module">
  import patternLabStarterkitTwigDemo from 'https://cdn.skypack.dev/@pattern-lab/starterkit-twig-demo';
</script>

README

license Packagist Gitter

Demo StarterKit for Twig

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.

Requirements

The Demo StarterKit for Twig requires the following PatternEngine:

Install

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.

Edit Files

After installation the files for this StarterKit can be found in source/.