Set Image path on ASP.NET Core + Angular 2 template for Visual Studio

后端 未结 5 1009
误落风尘
误落风尘 2020-12-16 03:43

I need to add a static image as shown below.Can you tell me why I cannot show the image on home page as shown below ? i.e. It\'s not working.

Here I\'m using this AS

5条回答
  •  借酒劲吻你
    2020-12-16 04:20

    you should use

    
    

    or

    
    

    also make sure path should be relative.

    Angular by default uses property binding. To tell Angular explicitly to use attribute binding.

提交回复
热议问题