1.0.1 • Published 7 years ago
generator-pl-pattern v1.0.1
Pattern Lab pattern Yeoman Generator
Running this asks a few questions about your Front End component that uses BEM naming scheme and used in Pattern Lab, then generates the front end files needed: scss, twig, etc.
Installation
npm i -g yo generator-pl-pattern
Usage
yo pl-pattern
Either cd
into pattern-lab/source/_patterns/
before running, or use the flag below to pick the base directory.
Options
The command can be ran with these flags to change options:
--base path/to/source/_patterns/
- Set the base path. This will list folders inside to suggest as places where components will be scaffolded.