Closed parallels999 closed 2 years ago
Hi,
Thank you for you observation. For the moment I've just added the autocomplete of the first blade path and the declaration finder.
We will keep the issue opened until a valid parser is added for this directive and the fourth parameter is seen as a view path.
Thanks 👍
Hi
Also @includeWhen
, @includeUnless
has path on second argument,
and @includeFirst
has an array of paths on first
@includeWhen($boolean, 'view.name', ['status' => 'complete'])
@includeUnless($boolean, 'view.name', ['status' => 'complete'])
@includeFirst(['custom.admin', 'view.name'], ['status' => 'complete'])
Thanks
https://laravel.com/docs/9.x/blade#rendering-views-for-collections