Skip to content

Instantly share code, notes, and snippets.

@msato0731
Created January 9, 2019 11:47
Show Gist options
  • Save msato0731/ad890b7c64457fb1e507761d8f4531cc to your computer and use it in GitHub Desktop.
Save msato0731/ad890b7c64457fb1e507761d8f4531cc to your computer and use it in GitHub Desktop.
laravelの@yieldと@section 変更後 親 /layouts
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>testapp</title>
</head>
<body>
<h2>サイドバー(同一にしたい)</h2>
@yield('content')
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment