Home > Backend Development > PHP Tutorial > Laravel custom error interface 404

Laravel custom error interface 404

WBOY
Release: 2016-09-28 08:54:08
Original
1090 people have browsed it

I added a 404.blade.php under resources/views/errors/ of the laravel project. Since the template requires a menu classification variable, which method should I pass the variable in? The following is my directory structure

Laravel custom error interface 404

Here are the variables used in my 404 template

Laravel custom error interface 404

How should I deal with this error!

Reply content:

I added a 404.blade.php under resources/views/errors/ of the laravel project. Since the template requires a menu classification variable, which method should I pass the variable in? The following is my directory structure

Laravel custom error interface 404

Here are the variables used in my 404 template

Laravel custom error interface 404

How should I deal with this error!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template