Laravel - Views and Blade Templates
How can you pass a variable named
title with value 'Welcome' to a sub-view header using @include?title with value 'Welcome' to a sub-view header using @include?@include('view', ['key' => value]).@include('header', ['title' => 'Welcome']) uses the correct array syntax. Options A, C, and D use invalid or unsupported syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions