I tried displaying an image in Angular v18 but it never showed up until I tried using a .png which to my surprise worked as expected
I also placed both images in the same folder (/public) because according to angular.json its a replacement for the assets folder that we know from earlier versions.
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
<img src="/Scree.png">
New contributor
jamakr4 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.