Instead of using @asset(‘images/example.jpg’), can I get example.jpg in PHP and not in blade?
1 Like
Just use
<?= App\asset_path('images/example.jpg') ?>
7 Likes
Thank you