Unable to retrieve images with vitejs in dev mode #314
Answered
by
vinkla
lmonterocreaticagency
asked this question in
Q&A
-
Hello, We can't get the images via css with vitejs in dev mode (vite dev). Example :
This works correctly when running a vite build. But with a quick dev, the images are returned in 404. How do I get this to work in dev and build? |
Beta Was this translation helpful? Give feedback.
Answered by
vinkla
Oct 6, 2022
Replies: 2 comments 7 replies
-
Did you add them to the |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
lmonterocreaticagency
-
I've searching for 3 hours. And find this discussion. You just made my day. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you add them to the
resources/static
directory? You'll also need to runbuild
.