In laravel blade system when we want to include a partial blade file we have to write the full path every time for each file. and when we rename a folder then we will have to check every @include of files inside it. sometimes it would be really easy to include with relative paths. is there any way to do that?
for example we have a blade file in this path :
resources/views/desktop/modules/home/home.blade.php
and I need to include a blade file that is near that file :
@include('desktop.modules.home.slide')
with relative path it would be something like this :
@include('.slide')
is there any way to do this?
@include('./././slide')
?? – Veinstone