Commit Graph

4 Commits

Author SHA1 Message Date
Alejandro Martinez
3bf17d5323 fix: disable SSR + add app.config for Nuxt UI colors
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>
2026-04-07 16:39:20 +02:00
Alejandro Martinez
11d28a1b0d fix: use rollupConfig.external to prevent Nitro from bundling better-sqlite3
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>
2026-04-07 14:45:04 +02:00
Alejandro Martinez
0728211857 fix: copy better-sqlite3 native bindings to Docker runtime stage
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>
2026-04-07 14:23:07 +02:00
Alejandro Martinez
e7de636cf2 feat: initial brainstorming app — Nuxt 3 + SQLite + admin auth
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>
2026-04-07 14:15:45 +02:00