Angular4 Application running issues in IE11

后端 未结 3 1826
挽巷
挽巷 2020-12-07 21:47

I am building a Angular4 project using Angular CLI (1.1.2). It runs perfectly in Chrome (Version 59.0.3071.115) and firefox(54.0.1) but when I tried to use IE11 (Verison 11.

3条回答
  •  醉酒成梦
    2020-12-07 22:39

    I got this when I tried to add an es7 import. I simply replaced the es6 import with the es7 import. Turns out I needed both.

    Gives me "Exception thrown and not caught" error:

    import 'core-js/es7/array';
    

    Works fine:

    import 'core-js/es6/array';
    import 'core-js/es7/array';
    

提交回复
热议问题