What is YEO+LAB?
A Yeoman generator for Pattern Lab, a static site generator based on Brad Frost's Atomic Design methodologies. Yeo+Lab scaffolds out a new Pattern Lab site (using default or custom patterns) and sets up a few other optional workflow bells and whistles (Compass, Sass, Bower, Grunt) and front-end dependencies (jQuery, Modernizr, Require, etc.).
- Install Yeoman globally:
$ npm install -g yo
- Install Yeo+Lab globally:
$ npm install -g generator-patternlab
- From the terminal, navigate to your site's directory (creating a separate UI directory in the project root works pretty well).
and answer a few questions about your project.
$ yo patternlab
- When it's done, type
to generate your first Pattern Lab build…
to start the watcher.
$ grunt watch
- Bask in the glory of your fully scaffolded site!