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

前端 未结 7 1262
名媛妹妹
名媛妹妹 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:47

    This issue occurs from angular2-template-loader with SSR and there are a couple of reasons why this issue appears:

    • Important: Check if angular2-template-loader is up to date.

    Usually, all the issues are related with @Component.

    • As Will mentioned - in component name. (this has been fixed)
    • Comments within @Component

提交回复
热议问题