Closed KissBalazs closed 7 years ago
I have a problem with inserting images to the pages.
For instance: <img src="../../assets/img/mylogo.png" />
<img src="../../assets/img/mylogo.png" />
and with existing path and file, it gives me a 404 error: (index):10 GET http://localhost:8000/assets/img/mylogo.png 404 (Not Found)
(index):10 GET http://localhost:8000/assets/img/mylogo.png 404 (Not Found)
Same for <img [src]="logoPath"/>, etc.
<img [src]="logoPath"/>, etc.
Thank you for the help in advance.
This is a webpack issue, need to export the assets folder. How silly of me...
Hi, sorry, but ... how can I fix the error? I'm having the same problem... Thank you!
https://github.com/FrozenPandaz/ng-universal-demo/issues/22
I have a problem with inserting images to the pages.
For instance:
<img src="../../assets/img/mylogo.png" />
and with existing path and file, it gives me a 404 error:
(index):10 GET http://localhost:8000/assets/img/mylogo.png 404 (Not Found)
Same for
<img [src]="logoPath"/>, etc.
Thank you for the help in advance.