1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Angular does not load images from Assets

Discussão em 'Angular' iniciado por Gustavo Henrique, Maio 16, 2025.

  1. I'm making an angular application, and inside the assets I created a folder called "image", and I placed my images there, and then I reference them in the html component, but after using ng and checking the application, the image does not appear, giving an error not found in the console, the server does not recognize the image page created within assets

    [​IMG]

    [​IMG]

    and the strangest thing is that if I place the image directly in the assets it recognizes it

    [​IMG]

    Why is this happening ? how to solve ? How to make Angular recognize the folders inside assets?

    I try to change folder and move images

    Continue reading...

Compartilhe esta Página