Display name of current blade file

I would like to have an h1 tag that displays the current file name.

For example, in the blade file "index.blade.php", I would like to have an h1 tag that displays "index.blade.php".

I have tried doing using but that prints out the cached blade file and not the actual name

// index.blade.php

<h1></h1> 

Result: project/storage/framework/views/eweijo29398hr23.php

Desired Result: /index.blade.php



from Recent Questions - Stack Overflow https://ift.tt/3e02EUj
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept