# Replace the dashboard
IMPORTANT
This will replace the default dashboard. By doing this you will not be able to use the dashboard widgets
If you need to fully replace the default dashboard by using your own controller, you can run the following artisan command :
php artisan boilerplate:dashboard
This will publish these two files :
app/Http/Controllers/Boilerplate/DashboardController.php
resources/views/vendor/boilerplate/dashboard.blade.php
It will also change the dashboard
configuration value in config/boilerplate/menu.php
# Rollback
You can restore the configuration and delete the installed files by calling the command with the remove option:
php artisan boilerplate:dashboard -r