moxie-lean / ng-patternlab

Atomic Design Patternlab in Angular for use with the LEAN Ecosystem
http://getmoxied.net/lean
MIT License
0 stars 1 forks source link

Include custom examples for generic components in the patterns page #77

Open andybar2 opened 7 years ago

andybar2 commented 7 years ago

Steps to reproduce and a minimal demo of the problem

Current behavior

Nowadays the gulp task that generates the patterns page, only uses the example.html that is inside the component folder.

Expected/desired behavior

We need a way to customize the example.html for the generic components inside each application. An option for that could be changing the gulp task in order to use a custom example.html from the application folder first (if exists) and then the generic one inside the lib.

Other information