In this write-up, we will look at how to replace the default error page that comes with Laravel 10.
- Create an errors folder in the
resources/views/directory - To display a custom 404 page add a
404.blade.phppage to the errors folder.
In this write-up, we will look at how to replace the default error page that comes with Laravel 10.
resources/views/ directory404.blade.php page to the errors folder.