TL; DR: What is the correct way to reference a stylesheet in Laravel 5?
Background: I use the dev version of Laravel 4.3 (5) because I want to use Socialite, and from the very beginning it makes sense to develop with this. I had a problem getting templates from 4.2
I moved the blade layout files to a new directory structure (resources / templates) and put my CSS in the public / css / folder.
When I load my route / test / all I get is "oops, something seems to have gone wrong."
For testing purposes, I removed the entire syntax of the blade layout from my layouts - the raw HTML code works, but there is no style (since there is no related stylesheet). This suggests that routes, views, and controllers work.
Problem:
In my layouts, if I remove the following, the layouts work:
{{ HTML::style('css/bootstrap.min.css') }} {{ HTML::style('css/style.css') }}
Question:
What is the correct layout and syntax for including Blade Stylesheet in Laravel 5 and what should I use instead?
laravel laravel-5 blade
matt
source share