如果我们只是404.blade.php在其中创建一个页面resources/views/error就可以正常工作,但是Auth()在 404 页面上不起作用,要解决这个问题,如果我们遵循 stackoverflow 上提供的解决方案,Laravel 身份验证错误将停止工作。我使用以下解决方案来完成这项工作。
404.blade.php
resources/views/error
php http-status-code-404 laravel laravel-authentication
http-status-code-404 ×1
laravel ×1
laravel-authentication ×1
php ×1