2017-03-22 5 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 @最新バージョンにNPMパッケージを更新しており、 ECMAスクリプトを使用して6.私はIE11でアプリケーションを読み込むことができます – Vignesh

関連する問題