【发布时间】:2015-10-26 04:39:57
【问题描述】:
我正在尝试从 CDN 加载 mustache.js(无逻辑模板语言)作为外部文件,例如:
<script src="https://raw.githubusercontent.com/janl/mustache.js/master/mustache.min.js"></script>
但它给出了以下问题:
Refused to execute script from 'https://raw.githubusercontent.com/janl/mustache.js/master/mustache.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
请帮助我。谢谢。
【问题讨论】:
标签: javascript html handlebars.js mustache