PatternLab and Drupal 8

MiroslavMichalika 86 views 14 slides Nov 29, 2018
Slide 1
Slide 1 of 14
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14

About This Presentation

Short session providing step-by-step description of integrating PatternLab and Drupal 8. Session was held at Cheppers internal Drupal meetup on 29/11/2018.


Slide Content

PatternLab and D8
Miro Michalicka, Cheppers bi-weekly, 29/11/2018

Discussion points
•What is PatternLab and how does it work
•How to integrate PatternLab with D8
•Why we used it

PatternLab

https://patternlab.io/assets/atomic-design.mp4

PatternLab
Demo time

PatternLab & D8
•Component Library
•several different approaches

Component Libraries

Component Libraries

Component Libraries
yourtheme.info.yml

Component Libraries
@atoms/10-text/01-h1.twig
yourtheme/templates/content/page-title.html.twig

Component Libraries
Demo time

Component Libraries
Preprocess
+ templates
UI Patterns
EVA for less preprocess

WHY?!

Thank you for attention
Questions?
email: [email protected]
twitter: @miromichalicka
drupal.org: mirom