Keeping living style guides and Drupal themes in-sync using Twig

mikemiles86

There are times when clients want to see how their site will behave within the browser before it is built. A great tool to manage these expectations is by creating a mockup site of CSS and HTML that serves as a living style guide. To remain successful in your project you need to make sure this mock-up site and your Drupal 8 theme stay in sync.

This session outlines how you can use component based twig templates to provide the markup for your Drupal 8 theme and mock-up site/living style guide all at the same time. So that when you make a change to a single twig template it is reflected everywhere.  Attendees will learn how to approach architecting their twig templates into a reusable structure. Then using those same component files to power their living style guide and Drupal 8 theme.
 

 

Session Track

Front End

Experience Level

Beginner

Drupal Version