Css not loading on deploy

I already tried the methods that were sent in the help section and it cannot solve my problem
18 Replies
Percy
Percy2y ago
Project ID: 92d57682-7e59-4ad1-a9d4-ac5a5dc1adcd
Piu Piu 2v
Piu Piu 2v2y ago
92d57682-7e59-4ad1-a9d4-ac5a5dc1adcd https://administracionparqueo-production.up.railway.app/ https://github.com/ElChris496/AdministracionParqueo CSS in /Resource/css Html in /Resource/views page Home is /Resources/views/welcome.blade.php html is welcome.blade.php and css is menustyle.css
Brody
Brody2y ago
instead of linking to the css like ./resources/css/menustyle.css use {{ asset('/css/menustyle.css') }} place files that you want to be publically accessible in the appropriate folder within the public folder of your project
Piu Piu 2v
Piu Piu 2v2y ago
Brody
Brody2y ago
^
Piu Piu 2v
Piu Piu 2v2y ago
I will
Piu Piu 2v
Piu Piu 2v2y ago
Piu Piu 2v
Piu Piu 2v2y ago
thank you so much
Brody
Brody2y ago
and you can figure out the 404 for the logo.png i presume?
Piu Piu 2v
Piu Piu 2v2y ago
and to put images which route should I use
Brody
Brody2y ago
move the folder /resources/img into /public
Piu Piu 2v
Piu Piu 2v2y ago
use : {{ asset('/img/logo.png') }} ?
Brody
Brody2y ago
correct i mean the asset helper isn't strictly necessary, just ./img/logo.png would work you decide what works better for you
Piu Piu 2v
Piu Piu 2v2y ago
thanks
Brody
Brody2y ago
all good?
Piu Piu 2v
Piu Piu 2v2y ago
yes
Brody
Brody2y ago
awsome
Want results from more Discord servers?
Add your server