'How in in laravel/Inertiajs to show custom template for 503?
How can I catch in laravel 9/Inertiajs 3 and show custom message for 503 error, which is triggered by
php artisan down
command.
I created page
resources/js/Pages/503.vue
But is is not shown for my site...
Thanks in advance!
Solution 1:[1]
You need to create the view as the documentation suggests
resources/views/errors/503.blade.php
You can still use a vue component inside that view, but that's the file that should be present.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | IGP |
