简体   繁体   English

Aurelia的ASP.NET Core SPA模板中的“承诺”是未定义的错误

[英]'Promise' is undefined error in ASP.NET Core SPA Template for Aurelia

I have installed the ASP.NET Core SPA Templates: 我已经安装了ASP.NET Core SPA模板:

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

But when I try to open the site in IE 11 I get error "'Promise' is undefined". 但是,当我尝试在IE 11中打开站点时,出现错误“'Promise'is undefined”。 What is the best way to fix this? 解决此问题的最佳方法是什么?

You need a Promise polyfill for IE11. 您需要针对IE11的Promise polyfill。 Aurelia starter packs include bluebird Bluebirdjs Aurelia入门包包括bluebird Bluebirdjs

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM