I am trying to figure out why my angular 2 app is stuck on showing Loading... when running in IE 11.
Following someone\'s suggestion, I\'ve tried this plunker, poste
As of September 2017 (node version=v6.11.3, npm version=3.10.10), this is what worked for me (thanks @Zze):
Edit polyfills.ts
and uncomment the imports that are necessary for IE11.
More preciselly, edit polyfills.ts
(located in the src
folder by default) and just uncomment all lines required for IE11 (the comments inside the file explain exactly what imports are necessary to run on IE11).
A small warning: pay attention when uncommenting the lines for classlist.js
and web-animations-js
. These commented lines have a specific comment each: you must run the associated npm commands before uncommenting them or processing of polyfills.ts will break.
As a word of explanation, the polyfills are pieces of code that implement a feature on a web browser that do not support it. This is why in the default polyfills.ts configuration only a minimal set of imports is active (because it's aiming the so-called "evergreen" browsers; the last versions of browsers that automatically update themselves).