This is your code: <link href="/vendor/devdojo/chatter/assets/vendor/spectrum/spectrum.css" rel="stylesheet">
My suggestion:
You should use helper asset() if you want to grab full url/link.
For example: <link href="{{asset('/vendor/devdojo/chatter/assets/vendor/spectrum/spectrum.css')}}" rel="stylesheet">
Because there will be problem if one's laravel app is in subfolder such as http://mywebsite.com/thelaravelapp,
and if you access http://mywebsite.com/thelaravelapp/forums, there will be a lot of problem (css not found, image not found, js not found, etc)
This is your code:
<link href="/vendor/devdojo/chatter/assets/vendor/spectrum/spectrum.css" rel="stylesheet">
My suggestion:
You should use helper
asset()
if you want to grab full url/link. For example:<link href="{{asset('/vendor/devdojo/chatter/assets/vendor/spectrum/spectrum.css')}}" rel="stylesheet">
Because there will be problem if one's laravel app is in subfolder such as
http://mywebsite.com/thelaravelapp
, and if you accesshttp://mywebsite.com/thelaravelapp/forums
, there will be a lot of problem (css not found, image not found, js not found, etc)