1. Home
  2. ›
  3. Blade
  4. ›
  5. 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