I naively attempted to override the error page by copying the blade template from vendor/wpstarter/framework/src/WpStarter/Foundation/Exceptions/views/401.blade.php to resources/views/401.blade.php, hoping that it would recognize the override. However, that was not the case.
Thank you in advance for your insight.
Perhaps it would be beneficial to add a few lines in the documentation regarding this topic if there is an existing mechanism, as I anticipate that this will be a recurrent question.
Is there a way to override an error page?
I naively attempted to override the error page by copying the blade template from
vendor/wpstarter/framework/src/WpStarter/Foundation/Exceptions/views/401.blade.php
toresources/views/401.blade.php
, hoping that it would recognize the override. However, that was not the case.Thank you in advance for your insight.
Perhaps it would be beneficial to add a few lines in the documentation regarding this topic if there is an existing mechanism, as I anticipate that this will be a recurrent question.