2
I’m starting now with Laravel 5.1, I was left with a question regarding Lade.
For example, I want to pass several CSS or JS files from the page in question using Blade notation. My main file looks like this:
<html>
<head>
<link href="@yield('css')" rel="stylesheet">
<title>@yield('titulo')</title>
</head>
And on the page like this:
@section('css', '/css/app.css')
How can I load multiple CSS files on a given page? It is possible?
I don’t know if we still have that problem at
Laravel, but in theLaravel 3this Rent appeared on the screen, if you didn’t have any "Son"– Wallace Maxters
In 5.1 there is no such problem if you do as indicated in the answer.
– gmsantos
And it’s actually contrary to your statement... Parent might show up if Section doesn’t have a parent
– gmsantos