任何人都可以提供一个工作示例amp-accordion
吗?当我在引用的 amp 页面中尝试来自https://www.ampproject.org/docs/reference/extended/amp-accordion.html的示例代码时
<script async custom-element="amp-accordion" src="https://cdn.ampproject.org/v0/amp-accordion-0.1.js"></script>
在标题中,我收到以下两条(令人不安的)错误消息:
The attribute 'custom-element' in tag 'amp-access extension .js script' is set to the invalid value 'amp-accordion'. (see https://www.ampproject.org/docs/reference/extended/amp-access.html)
最后
The tag 'amp-accordion' is disallowed.
有任何想法吗?