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
Project ID:
92d57682-7e59-4ad1-a9d4-ac5a5dc1adcd
You might find these helpful:
- why im getting this error?
- I can't connect to the database, from the servers for hosting.
- any help with verification I think i have a bug ?
⚠️ experimental feature
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
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^
I will
thank you so much
and to put images which route should I use
move the folder
/resources/img
into /public
use : {{ asset('/img/logo.png') }} ?
correct
i mean the asset helper isn't strictly necessary, just
./img/logo.png
would work
you decide what works better for youthanks
all good?
yes
awsome