How to debug image not found error in a blazor project?
Solution 1:
<img scr="img/background.jpg" class="img" alt="wrong">
<img src="img/background.jpg" class="img" alt="ok">
See what i did there?
Solution 2:
- How do I debug such "wrong path" type of errors.
That is a good question.
With your App running, hit F12 in your Browser. Make sure you can see the "Dev Tools".
Select the Network tab and reload your page. Find the 404 error.