Use this to add assets like css
, javascript
, images
.. into blade file.
FOR CSS,
<link href="https://stackoverflow.com/questions/28214499/{{ asset("https://stackoverflow.com/questions/28214499/css/app.css") }}" rel="stylesheet" type="text/css" >
OR
<link href="https://stackoverflow.com/questions/28214499/{{ URL::asset("https://stackoverflow.com/questions/28214499/css/app.css") }}" rel="stylesheet" type="text/css" >
FOR JS,
<script type="text/javascript" src="https://stackoverflow.com/questions/28214499/{{ asset("js/custom.js') }}"></script>
OR
<script type="text/javascript" src="https://stackoverflow.com/questions/28214499/{{ URL::asset("js/custom.js') }}"></script>
FOR IMAGES,
{{ asset('img/photo.jpg'); }}
Here is the DOC
Alternatively, if you pulled the composer package illuminate/html
which was come as default in laravel 4.2 then you can use like below, In laravel 5. you have to manually pull the package.
{{ HTML::style('css/style.css') }}
Here is an Example.