You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.
To make it easier to perform some (small) customization to the error pages (especially because they are so beautiful at the moment), I would like to be able to publish the error views through the vendor:publish command. This would result in a copy of /Illuminate/Foundation/Exceptions/views in the /resources/views/errors folder.
This would be a small change, we just need to add the publish command to a service provider. For example the FoundationServiceProvider:
/**
* Boot the service provider.
*/
public function boot()
{
if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__.'/../Exceptions/views' => $this->app->resourcePath('views/errors/'),
], 'laravel-errors');
}
}
I'm willing to create a PR for this if this change makes sense for others as well.
The text was updated successfully, but these errors were encountered:
To make it easier to perform some (small) customization to the error pages (especially because they are so beautiful at the moment), I would like to be able to publish the error views through the
vendor:publish
command. This would result in a copy of/Illuminate/Foundation/Exceptions/views
in the/resources/views/errors
folder.This would be a small change, we just need to add the publish command to a service provider. For example the
FoundationServiceProvider
:I'm willing to create a PR for this if this change makes sense for others as well.
The text was updated successfully, but these errors were encountered: