Angular application gives blank page in IE11

2019-07-31 18:50发布

Angular application loads only in Internet Explorer browser versions, when Developer Tools(F12) sidebar is opened. There aren't any MDL components in use, so it is different from this issue. I can't see any errors in console.

1条回答
叼着烟拽天下
2楼-- · 2019-07-31 19:32

If i understand question,blank page will solve:

go to polyfills.ts and uncomment this imports

   import 'core-js/es6/symbol';
   import 'core-js/es6/object';
   import 'core-js/es6/function';
   import 'core-js/es6/parse-int';     //Uncommented to enable IE11
   import 'core-js/es6/parse-float';
   import 'core-js/es6/number';
   import 'core-js/es6/math';
   import 'core-js/es6/string';
   import 'core-js/es6/date';
   import 'core-js/es6/array';
   import 'core-js/es6/regexp';
   import 'core-js/es6/map';
   import 'core-js/es6/weak-map';
   import 'core-js/es6/set';
查看更多
登录 后发表回答