【问题标题】:'Promise' is undefined error in ASP.NET Core SPA Template for Aurelia'Promise' 是 Aurelia 的 ASP.NET Core SPA 模板中的未定义错误
【发布时间】:2017-11-30 02:46:53
【问题描述】:

我已经安装了 ASP.NET Core SPA 模板:

dotnet new --install Microsoft.AspNetCore.SpaTemplates::*

但是当我尝试在 IE 11 中打开网站时,我收到错误“'Promise' is undefined”。解决此问题的最佳方法是什么?

【问题讨论】:

  • 你需要一个 IE11 的 Promise polyfill。 Aurelia 入门包包括 bluebird Bluebirdjs
  • @Benny,你应该发表你的评论作为答案,这样我就可以投票了!
  • 感谢@AshleyGrant。完成

标签: javascript asp.net-core single-page-application aurelia


【解决方案1】:

您需要一个适用于 IE11 的 Promise polyfill。 Aurelia 入门包包括 bluebird Bluebirdjs

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-05-30
    • 2019-02-02
    • 2013-05-25
    • 1970-01-01
    • 1970-01-01
    • 2019-12-05
    相关资源
    最近更新 更多