north / generator-style-prototype

Yeoman Generator for Style Prototypes
362 stars 49 forks source link

Next Steps? #60

Closed fallenturtle closed 10 years ago

fallenturtle commented 10 years ago

Once we have styles and pages composed of components, how do we start using these to build the actual site outside of the styleguide? Is there an export option or a way to build the actual site using these patterns (aka <pattern data-name="foo" data-source="components">)?

Snugug commented 10 years ago

The pattern tag is just some syntactical sugar around Angular's ng-include that uses a lookup to find the include path. Take a look at the 2.0.0 release and the updated README