feat(admin): add devkit developer tools section
- add `ZEN_DEVKIT` env variable to enable/disable devkit - add `isDevkitEnabled()` utility and export it from public api - register devkit nav section and items conditionally when devkit is enabled - add devkit route handling in admin page client and server - add DevkitPage, ComponentsPage, and IconsPage client components
This commit is contained in:
+4
-1
@@ -49,4 +49,7 @@ ZEN_PUBLIC_LOGO_BLACK=
|
||||
ZEN_PUBLIC_LOGO_URL=
|
||||
|
||||
# OTHERS
|
||||
NEXT_TELEMETRY_DISABLED=1
|
||||
NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
# DEVKIT (developer tools)
|
||||
ZEN_DEVKIT=false
|
||||
Reference in New Issue
Block a user