Level 75
Have you tried the asset helper? Otherwise the url helper should work.
https://laravel.com/docs/11.x/helpers#urls
Hello,
I'm working on a Laravel project and using Vite for asset management. I have a situation where the logo image is stored in the resources folder, while the demo images are kept in the public folder. I want to set a background image in a CSS file located in resources, but the image itself is in the public folder.
How can I configure the CSS file to correctly load the background image from the public folder when using Vite?
Thanks for your help!
Please or to participate in this conversation.