amp-html - 标签“amp-mustache extension .js script”中的属性“src”设置为无效值?
问题描述
根据弃用警告,目前正在尝试将我的 AMP Mustache 版本从 0.1 升级到 0.2。但是,这样做之后,我们开始收到以下错误:
The attribute 'src' in tag 'amp-mustache extension .js script' is set to the invalid value 'https://cdn.ampproject.org/v0/amp-mustache-0.2.js
以下是我们的确切内容,如果有任何需要更改的地方,请告诉我们:
<script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.1.js"></script>
解决方案
amp-mustache 0.2 版存在一些问题,因此验证器显示错误。现在这是固定的。
推荐阅读
- reactjs - ReactJS 16.13.1 在侦听器中挂钩不连贯状态
- elasticsearch - 弹性搜索查询中的“存在”不适用于对象
- python - 在数据框 Pandas 中创建滚动聚合值
- github - Github 上的 Jupyter Notebook Markdown Latex
- slurm - Slurm 交互模式 - 在开始时运行预先指定的命令
- spring-boot - Spring标准查询多对多关系
- python - 在 matplotlib 中拟合一条特定斜率的线
- ios - 是否可以在原生 iOS 中使用 Gif 动画?
- javascript - 如何用 JavaScript 语言预测时间中的一个变量或多个变量?
- c - 我什么时候应该使用malloc?