Angular 7 assets images path
See original GitHub issueHi, I try to use to make components for icons, and icons is in assets /img folder.
<svg> <use xlink:href="assets/img/icons.svg#customer"></use> </svg>
with ng serve this is working fine, but when use npm run storybook images is not show.
How I can include assets to use with storybook in Angular 7?
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
How to load image (and other assets) in Angular an project?
Angular -cli includes the assets folder in the build options by default. I got this issue when the name of my images had...
Read more >Images not loading from assets folder in Angular
You're using the wrong path to the images. In the Angular project, you don't have to add the relative path from your file...
Read more >Angular 10: not able to use an image from assets in url() in ...
There is no way to use an image from the assets folder with Angular 10. It works fine with v.9. Using the path...
Read more >Angular: image paths are incorrectly resolved in HTML file
Angular : image paths are incorrectly resolved in HTML file ... THis should not happen as the assets folder is marked as an...
Read more >Build Your First Angular Website: #7 Adding an Image
It's also a better idea to store this within our project folder so that all assets are served from our same domain.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, I solved the problem. Thanks.
On Thu, Feb 21, 2019, 10:04 Sven notifications@github.com wrote:
I am also facing same issue