Ngx-tawk投掷错误未捕获的错误:模板解析错误:解析器错误:意外的令牌'ID'

时间:2018-10-03 15:46:21

标签: angular6

我将ngx-tawk模板添加到了我的app.component.html到我的延迟加载的应用程序中。

  <!--app.component.html-->
    <router-outlet></router-outlet>
    <ngx-tawk [id]="XXXXXXXXXXXXXXXXXXX"></ngx-tawk>

我收到错误

Uncaught Error: Template parse errors:
Parser Error: Unexpected token 'XXXXXXXXXXXXX' at column 2 in [5bb4aa97b033e9743d021435] in ng:///AppModule/AppComponent.html@2:10 ("ent below is only a placeholder and can be replaced.-->
<router-outlet></router-outlet>
<ngx-tawk [ERROR ->][id]="XXXXXXXXXXXXX"></ngx-tawk>

XXXXXXXXXXXXX是tawk.io提供的ID

0 个答案:

没有答案
相关问题