tailwindlabs / discuss

A place to ask questions, get help, or share what you've built with Tailwind CSS.
MIT License
171 stars 9 forks source link

background-image:url local paths not working #459

Open MA-Liz opened 4 years ago

MA-Liz commented 4 years ago

Hi,

I am trying to display a background image. With an external URL everything displays as it should. However, if I try and use a local path nothing displays e.g.

style="background-image:url('@/assets/images/homepage/image.png');"

What do I have to do in order to get a locally stored image to appear?

Thanks, Liz