// Create a file in resources/views/errors/404.blade.php and add this code.
@extends('errors::minimal')
@section('title', __('Not Found'))
@section('code', '404')
@if($exception)
@section('message', $exception->getMessage())
@else
@section('message', __('Not Found'))
@endif
abort(404, 'Whatever you were looking for, look somewhere else');