1

I want to set admin prefix to all laravel fortify routes.

Prior to 8.*, putting Auth::routes() inside route admin prefix group works fine. Since I don’t want to use laravel/ui in my 8.* application, I eager to know how can I add prefix in fortify routes.

I added that line in fortify.php:

'prefix' => 'admin'

But that didn’t work. How can I solve it?