AnAlien
2 months ago
783
9
Laravel

how to make variable for "@yield"

Posted 2 months ago by AnAlien

Blade on how to make PHP variable for "@yield". ?


//Standard Yield
@yield('content')

//I want to do... (call pages by name.)
@yield($variable)

Please sign in or create an account to participate in this conversation.