Diamond: Cant see svg background images / URL not working
Posted: 06 Nov 2020, 14:29
Hi,
I just did a fresh install of the PrimeVuew Diamond template.
I noticed all of the pages in the "pages" section like landing, login, error are missing the svg background graphics.
I compared the online demo version with mine and noticed the URL in the CSS is different.
If I change the URL with the Browser Dev Tools from url("public/assets/layout/images/pages/landing/bg-contact.svg")
to url("/assets/layout/images/pages/landing/bg-contact.svg") the resource is found.
I am new to Vue. What can be the reason for this wrong URLs or that it cant be resolved?
Thank you.
I just did a fresh install of the PrimeVuew Diamond template.
I noticed all of the pages in the "pages" section like landing, login, error are missing the svg background graphics.
I compared the online demo version with mine and noticed the URL in the CSS is different.
If I change the URL with the Browser Dev Tools from url("public/assets/layout/images/pages/landing/bg-contact.svg")
to url("/assets/layout/images/pages/landing/bg-contact.svg") the resource is found.
I am new to Vue. What can be the reason for this wrong URLs or that it cant be resolved?
Thank you.