I\'ve been wondering around looking for solutions, but can\'t really understand especially when creating helpers. I\'m new in Laravel and I want a simple or if not a detaile
Set a section on your blade file (let home.blade.php) like
@section('Home', 'my-active-class')
And set a section on your another blade file (let about.blade.php) like
@section('About', 'my-active-class')
and yield this section on app.blade.php (Suppose you are extending from app.blade.php)
...
- Home
- About
...