簡體   English   中英

Angular2在IE11上不起作用

[英]Angular2 not working on IE11

我也添加了es6shim,但我在IE11上遇到了錯誤,而angular2應用程序無法正常工作。

在此處輸入圖片說明

嘗試將以下內容添加到index.html

    <!doctype html>
    <html lang="en">
    <script src="https://raw.githubusercontent.com/angular/angular/66df335998d097fa8fe46dec41f1183737332021/shims_for_IE.js" type="text/plain"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-sham.js" type="text/plain"></script>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM