2017-03-22 42 views
0

工作在angular4應用程序中,無法在IE中加載應用程序。我正在使用以下版本。無法在IE中加載角度2

Node -v7.2.1 
npm -v3.10.10 
typescript- v2.2.1 
Webpack -v2.2.1 and using ES6 module in tsconfig.json 
@angular/core 4.0.0 

如何在IE中加載angular2應用程序。

在此先感謝

回答

0

嘗試添加到您的index.html(head標籤的頂部):

<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> 
<meta http-equiv="X-UA-Compatible" content="IE=9;IE=edge;IE=10" /> 
+0

我已經故宮包更新到最新版本@角/ XXXX V4.0.0和使用ECMA腳本6.我們可以如何在IE11中加載應用程序 – Vignesh