I’m having a similar problem.
I’m putting my images on resources/images
folder, and trying to use on my CSS as this:
.background {
background-image: url("../images/background.svg");
}
In the same wey that is in the documentation.
It works after running yarn build
, but not while running rand dev
, neither on the live preview http://localhost:3000/
nor on http://localhost:3000/
, the images doesn’t load, because the browser is trying to load them on a different directory.