SyntaxFix
Write A Post
Hire A Developer
Questions
Add in angular.json
"assets": [ "src/favicon.ico", "src/assets" ],
And then use it like this: <img src={{imgPath}} alt="img"></div>
<img src={{imgPath}} alt="img"></div>
And in ts: storyPath = 'assets/images/myImg.png';
storyPath = 'assets/images/myImg.png';