for some reason the amp component amp-lightbox does not work when i do not regard the sequence of the included amp-components.
unrecognized AMP element: Did you forget to include it via <script.....
Of course i didn't forget to include it, but as far I switch the order of the include files, then it works.
Not working:
<script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script>
<script async custom-element="amp-lightbox" src="https://cdn.ampproject.org/v0/amp-lightbox-0.1.js"></script>
and working example:
<script async custom-element="amp-lightbox" src="https://cdn.ampproject.org/v0/amp-lightbox-0.1.js"></script>
<script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script>
I am also not using amp-list in conjuction with amp-lightbox...