我将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