You don't need to change it. It doesn't look for '[errorcode].blade.php', it looks a a template with [errorcode].[any registered extension].
If 404.blade.php exists, displaying a 404 (or
view('errors.404')) will try to load that. But if it doesn't exist, it tries
404.twig. No need to change anything.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.