为什么代码更改不会在浏览器中更新?

时间:2019-12-27 16:06:47

标签: angular

按照《英雄之旅》教程进行。 here

  

更改应用程序标题打开组件类文件   (app.component.ts),并将title属性的值更改为“ Tour   英雄”。

     

app.component.ts(类标题属性)content_copy title ='Tour of   英雄”;

我进行了更改,但是每次加载localhost:4200都会显示相同的原始页面。 我想念什么?

enter image description here

更新: 现在可以使用了。我不知道为什么 可能是因为未在VS Code中启用自动保存。

enter image description here

0 个答案:

没有答案