Guides
Playground
Use the Nuxt playground to validate both auth flows from one app.
Playground
The monorepo ships one Nuxt playground in /playground. It uses NuxtHub, @onmax/nuxt-better-auth, and one route tree for both flows.
Routes
| Route | Purpose |
|---|---|
/ | Landing page with links to both demos |
/direct/nimiq-pay | Direct mini-app sign-in |
/qr/desktop | Desktop-side QR initiation and polling |
/qr/phone/[challengeId] | Phone-side signing page |
/qr/result | Post-login desktop result |
Run it
pnpm playground:dev
The playground auth config lives in these files:
playground/server/auth.config.tsplayground/app/auth.config.ts
Use the playground as the reference implementation for package wiring. It shows the exact package boundaries the monorepo is designed to preserve.