[英]Angular 4 not rendering properly on IE 11
I am trying to get my Angular app work properly on IE. 我正在尝试使Angular应用在IE上正常工作。
Its building on IE but not rendering properly. 它基于IE构建,但无法正确呈现。
For Example : 例如 :
*ngIf
applied to divs not working *ngIf
应用于div不起作用 {{typescript variable}}
in HTML doesn't display text in few places and many more 在HTML中使用{{typescript variable}}
不会在少数几个地方显示文本 Angular Version: 4.1.0 Angular版本:4.1.0
Please note : I tried running it with add on polyfills like shim for client but nothing worked for me. 请注意 :我试图运行它与上polyfills添加类似垫片的客户端,但没有为我工作。
I could finally get this working by adding a polyfill for IE by following these steps : 我最终可以通过按照以下步骤为IE添加一个polyfill来使它工作:
More information on missing polyfills for browser compatibilty for angular can be found here https://angular.io/guide/browser-support 有关缺少的用于角度的浏览器兼容性的Polyfill的更多信息,请参见https://angular.io/guide/browser-support
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.