templateUrl does not work for me

后端 未结 7 1617
有刺的猬
有刺的猬 2021-01-05 09:07

I use the seed structure as per angular.io get started project. Everything OK so far.

Now I wanted to change the top component to have a view from a separated file a

相关标签:
7条回答
  • 2021-01-05 10:02

    use full path like app/app.component.html or use absolute path like ./app.component.html ./ for same directory

    0 讨论(0)
提交回复
热议问题