Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 799 Bytes

readme.md

File metadata and controls

46 lines (30 loc) · 799 Bytes

Simple Theme for Drupal with Pattern Lab

Prerequisites

  • Node v6+
  • Php v5.4+
  • composer installed

Setup

npm install

Please ensure the Drupal module Component Libraries is installed.

Commands

Compile everything, kick off file watches, and then a local server:

npm start

Compile everything:

npm run compile

Test everything:

npm test

Note: tests must be enabled, and most are off by default

Orientation

  • pattern-lab/
    • source/
      • _patterns/ - Everything shown in Pattern Lab: contains Atoms, Molecules, etc folders.
      • _data/ - Global data available to Pattern Lab
  • templates/ - Drupal template files that can include stuff from the above _patterns/ folder