【问题标题】:Internet Explorer recognizing Meteor.js app as an intranet site. Won't loadInternet Explorer 将 Meteor.js 应用程序识别为 Intranet 站点。不会加载
【发布时间】:2015-12-13 18:31:43
【问题描述】:

我可以从 Internet Explorer 11 中的“文件”>“属性”中看到它正在将其识别为 local intranet 站点。不应该的,我不知道为什么会这样……

这会导致网站在兼容模式下呈现,并且不会加载——在 JSON 未定义时中断。

我试图关注这个:JSON object undefined in Internet Explorer 8。只能实际尝试:

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

或者

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />

两者都在 <head> 的顶部,但是,作为 Meteor,其他东西在它之前注入。

有人有什么建议吗?

【问题讨论】:

    标签: internet-explorer meteor


    【解决方案1】:

    我使用kadirahq:flow-routerkadirahq:dochead 来管理这些元标记。

    此外,使用下一个版本的 flow-router,您将能够将脚本移动到页面末尾,以加快页面加载速度。请参阅https://github.com/kadirahq/flow-router/tree/ssr#defer-script-loading,也许这会有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-09-17
      • 1970-01-01
      • 2017-06-23
      • 1970-01-01
      • 2014-09-29
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多