1. Home
  2. Blade
  3. Yield

Inserts content specified in a template section. Use the second attribute to pass a default value.

#blade#layout
@yield('content', 'Sorry, no content yet')
copy
Full Blade cheatsheet