Level 50
@umairparacha is this path resources/images/home/hero.png exist? Can you show your vite.config.ts file?
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
EVERYTHING WORKS FINE when I am in development mode, but when I build the assets, it gives this error.
@shariff I found the solution. As I am building a blade application. I need to specify the static assets path in the application entry point, like the app.js file.
import.meta.glob(['../images/**'])
Please or to participate in this conversation.