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
Two things to note, first use brackets for the src property:
Second, make sure the url of the image is relative to the url of the route that is used to display the component. Because this is generally not a great thing to do, I'd recommend making the url absolute from the root of the application:
public heroImageUrl ="/ClientApp/app/components/home/image/employee_management.jpg";
And then better yet, place it in a common location like /images/employee_management.jpg