Open bennypowers opened 8 years ago
Where did you get this folder setup ? The demo pages are created using iron-component-page and iron-demo-helpers + polymer-analyzer AKA hydrolysis. Expects a flat structure (I've used one folder per components or one folder for all components. So try to put all the components folders side by side?
I have one parent elem which acts as a container for all the children. I've had limited success packing it up for distribution. using a flat folder structure is breaking element loading on unsupported browsers and demos.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
When building an element which uses child elements, with this directory structure, polymer-cli fails to render demos.
Versions & Environment
Steps to Reproduce
polymer serve
.Expected Results
Docs and Demo links should appear in parent element toolbar. Demo should work
Actual Results
No Docs or demo link in parent elem, only in child elements (when selected by toolbar). Demo fails.
Parent element page
Child element page (selected from drop down)
Console output when clicking on 'demo' for a child element.