What problem does it solve?
This Skill enables Next.js developers to embed emulators directly into their Next.js applications, simplifying OAuth configurations, creating catch-all route handlers, and adding persistence to emulated environments.
Core Features & Use Cases
- Next.js Adapter: Embed emulators directly into Next.js apps.
- OAuth Setup: Set up same-origin OAuth for Vercel preview deployments.
- Route Handler: Create an emulate catch-all route handler.
- Auth.js/NextAuth Integration: Configure Auth.js/NextAuth with embedded emulators.
- Persistence: Add persistence to embedded emulators.
- Configuration: Wrap next.config with withEmulate for integration.
- Use Case: Use this Skill to quickly integrate emulators like GitHub or Google into a Next.js app for local development and testing.
Quick Start
Install the necessary packages and configure the emulator for your Next.js app.