-
Notifications
You must be signed in to change notification settings - Fork 108
Enhanced DevTools for KV, Blob, and Cache management #774
Copy link
Copy link
Open
Description
Add DevTools extension for NuxtHub that adds KV, Blob, and Cache management directly in Nuxt DevTools.
Features
- KV Storage - View, create, edit, delete keys with JSON support
- Blob Storage - File browser with folder navigation, upload, preview
- Cache - Inspect Nitro cache entries grouped by handler type
Repository
I made a module to show how it could be implemented:
Try it
Clone and test the playground:
git clone https://github.com/onmax/nuxthub-extended.git
cd nuxthub-extended
pnpm install
pnpm devOpen http://localhost:3000 and press `Shift + Alt + D` for DevTools. Click "Seed Test Data" to populate sample data, then explore KV, Blob, and Cache tabs.
How it works
- Module registers DevTools tabs conditionally based on
hub.kv,hub.blob,hub.cacheconfig - Provides API endpoints under
/_hub-extended/*for CRUD operations - UI built with
@nuxt/uiand served via iframe in DevTools
Benefits
- Inline storage management without leaving the dev environment
- Visual debugging for KV/Blob/Cache operations
- Faster development workflow
Related: nuxt-modules/better-auth#67
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels