IE11 Angular 2 error “Expected identifier, string or number”

后端 未结 2 1732
梦谈多话
梦谈多话 2020-12-15 04:46

Well, I have created site using Angular 2. When I run \"ng-serve\" command and trying to test my site using \"http://localhost:4200\" in Google Chrome and IE11 it works perf

2条回答
  •  萌比男神i
    2020-12-15 05:08

    I googled it and found that it was maybe reserved words in my identifiers key:value pairs.

    No. These are not relevant to IE11.

    Fix

    You are most likely running raw .ts files. You should be hosting (in your script tags) the bundled / built .js files.

提交回复
热议问题