Angular应用程序在IE11中给出空白页 [英] Angular application gives blank page in IE11
本文介绍了Angular应用程序在IE11中给出空白页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Angular
应用程序仅在Internet Explorer
浏览器版本中加载.没有使用任何MDL组件,因此它不同于此一个>问题.我在控制台中看不到任何错误.
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.
推荐答案
如果我理解问题,空白页将解决:
If i understand question,blank page will solve:
转到polyfills.ts并取消注释此导入
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';
这篇关于Angular应用程序在IE11中给出空白页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文