The standard edition of Pattern Lab to be used with Drupal.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
The Standard Edition for Drupal gives developers and designers a clean and stable base from which to develop a Drupal compatible pattern library.
composer create-project pattern-lab/edition-drupal-standard FOLDERNAME(Assuming you wanted it in a directory called
After installing and committing, others cloning the repo need to run
composer installto install dependencies.
These are some helpful commands you can use on the command line for working with Pattern Lab.
This will compile PL and watch for changes while running the local server:
To generate the front-end for Pattern Lab type:
php core/console --generate
You can use PHP's built-in web server to review your Pattern Lab project in a browser. In a separate window type:
php core/console --server
Then open http://localhost:8080 in your browser.
To install a near-empty StarterKit as a starting point for your project type:
php core/console --starterkit --init
To install a specific StarterKit from GitHub type:
php core/console --starterkit --install
These are crucial pieces that contains documentation that is good to understand: