Angular2/ASP.NET - “No ResourceLoader implementation has been provided. Can't read the URL”

前端 未结 7 1280
名媛妹妹
名媛妹妹 2021-02-13 19:24

I\'m trying to build my own Angular 2/ASP.NET SPA on Visual Studio. You can find all the files here.

What I tried to do is simple: after I followed the instructions to

相关标签:
7条回答
  • 2021-02-13 19:58

    I had the same issue and none of the solutions above helped. However, I had seen a mention in a Steve Sanderson YouTube video that templateUrl: (and styleUrls:) could be replaced with just template: (and styles:). So, I took a shot in the dark. That fixed things for me and I was able to move on to the next hurdle.

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