Commit graph

2 commits

Author SHA1 Message Date
063ece498e chore(shadcn): fix tsconfig + components.json for current CLI
The shadcn-vue CLI (verified against
https://www.shadcn-vue.com/docs/installation/vite) requires path
aliases declared with both baseUrl and paths in tsconfig.json AND
tsconfig.app.json. Without baseUrl the CLI's resolvedPaths validator
fails with:

  Validation failed:
  - resolvedPaths: Required,Required,Required,Required,Required

(one Required per declared alias under "aliases" in components.json).

Also drop two stale keys from components.json that newer shadcn-vue
schema versions reject:

  - "framework": "vite"   → no longer part of the schema
  - "tailwind.config": "" → empty string fails validation; field is
                            optional for Tailwind 4 (no JS config file)

After this commit, "pnpm dlx shadcn-vue@latest add <component>"
succeeds out of the box.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-08 22:33:03 +02:00
0054f3ab80 initial scaffold: vue 3 + vite 8 + shadcn-vue + tailwind 4
Wires pinia, vue-router, vue-i18n, vee-validate/zod, shadcn-vue
(reka-ui), tailwind 4 via @tailwindcss/vite. Sample HomeView
proves i18n + pinia + tailwind. Optional nostr/lnbits feature
folders ship as documentation only — deps install on opt-in.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 10:05:39 +02:00