SSR causes 'Cannot read properties of null' with Nuxt UI v3 color
mode. Since this is an internal app, SPA mode works fine.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
nitro.externals.external doesn't prevent Rollup from inlining the
require. rollupConfig.external tells Rollup directly to leave the
import as-is, so Node resolves it from node_modules at runtime.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The .node binary wasn't being copied to .output, causing 'Could not locate
the bindings file' error at runtime.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Nuxt 3 app with:
- SQLite (better-sqlite3) for persistence
- Anonymous idea submission and voting
- Admin auth with session cookies
- AI analysis via Gemini API
- Nuxt UI components + Tailwind
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>