Customize the admin route name
This is the documentation for the latest version of Next Admin. If you are using an older version (<5.0.0
), please refer to the documentation
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:
You want to have your next admin panel at https://website.com/foo
:
apiBasePath
will be/api/foo
- and
basePath
will be/foo
- [[...nextadmin]].tsx
- [[...nextadmin]].ts