docs
Route name

Customize the admin route name

When setting up next-admin you can set the admin panel route name to whatever you want. The admin panel route name is set by your folder name.

Examples:

pages/admin/[[...nextadmin]].tsx will be /admin

pages/prisma/[[...nextadmin]].tsx will be /prisma