1. Home
  2. Blade
  3. Yield
#blade#layout

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

@yield('content', 'Sorry, no content yet')
copy
Full Blade cheatsheet
Sitemap Git repository