Angular App Empty Page in IE but works in Chrome

后端 未结 4 2227
情歌与酒
情歌与酒 2021-02-19 10:26

I have started learning Angular 4 and wrote a default application using Angular CLI (NG New HelloWorld). When i write ng serve, and browse

4条回答
  •  野的像风
    2021-02-19 10:47

    I'm running angular 8 application in windows 10 with IE11.

    I tried many solutions from stackoverflow. But didn't worked anything. then i tried same solutions separately, then i got to one conclusion.

    This is my final solution. i don't for howmany people it will work. but for me it worked.

    1. tsconfig.json

    "target": "es2015"
    

    changed to

    "target": "es5"
    

    2. Restart your applications. this Mandatory.

提交回复
热议问题