I am new to Angular 8
and currently developing a web-app
in it. It is working fine in Google Chrome
and EDGE
but it is not even being load in IE 11
. I explored for the solution over the internet and tried some suggested solution.
What I tried is:
Attempt 01:
Pasted this lines of code in index.html
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
Attempt 02
Added these lines in polyfills.ts
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
import 'core-js/es/symbol';
import 'core-js/es/object';
import 'core-js/es/function';
import 'core-js/es/parse-int';
import 'core-js/es/parse-float';
import 'core-js/es/number';
import 'core-js/es/math';
import 'core-js/es/string';
import 'core-js/es/date';
import 'core-js/es/array';
import 'core-js/es/regexp';
import 'core-js/es/map';
import 'core-js/es/set';
Attempt 03
Included support of IE 9-11
in browserlist
file.
But all in vain and I couldn't resolved this issue. Can someone please identify what am I doing wrong!