PolymerElements / iron-component-page

A reusable landing page for elements
36 stars 32 forks source link

@demo path should be relative to source file, not component page. #114

Open MaKleSoft opened 7 years ago

MaKleSoft commented 7 years ago

Currently it seems that iron-component-page expects the link provided through the @demo tag is relative to the component page. This is problematic for several reasons:

To ensure backward compatibility, iron-component-page could try to resolve the demo path both relative to the component page and relative to the source file.