In content.blade.php the I call @asset('image/placeholder.jpg') and its only outputing in plain text.
I’ve called the placeholder image in the past from a Controller (as a backup when grabbing a thumbnail), but never in the template file itself until today.
This is a clone of another theme i was working on, so i did a lazy copy+paste when in dropped it in the theme folder. Any idea on how i can debug this? I’ve already:
Check error logs
Removed Node_modules and rebuild them with yarn
I have a feeling its a composer issue, but not sure how to go about tracking down the issue.
I’d check first to make sure that code exists in your theme (directives not being parsed usually means blade didn’t recognize a custom directive), and if it does then use that as a starting point for debugging.
I went and looked and it is in there still, so I’ll have to take a look and debug from there. Thanks for the suggestion though, i couldn’t figure out where it was originating.
Since you’ve copied from another project, have you run yarn run build yet?
I’ve had the exact same issue at one point and that’s because I hadn’t built after adding my new image.