Component-driven prototyping tool using Pattern Lab v2 automated via Gulp/NPM. Also serves as a starterkit Drupal 8 theme.
- Node (we recommend NVM)
- Gulp
- Composer
- Optional: Yarn
npm install
oryarn install
- Download and enable Components module
- Enable Emulsify theme
Start up watches and local server after compiling (runs all gulp required tasks):
npm start
Pattern Lab Starter and Emulsify share a lot in common (see Acknowledgements
). Below is a breakdown of the two to aid in deciding which is best for your project.
Emulsify | Pattern Lab Starter | ||
Lightweight | ✔ | Emulsify is about 1/2 the size of PLS | |
SVG sprite support | ✔ | PLS uses icon fonts. | |
Stock Drupal templates | ✔ | see /templates directory | |
Stock Components (see below) | ✔ | with Drupal support built-in | |
Yeoman generator | ✔ | Adds functionality to generate a new component using `yo component` | |
Faker support | ✔ | PHP "dummy" content generator |
Documentation is currently provided in the Wiki. Here are a few basic links:
See Orientation
See Designers
See Gulp Config