Public Access
Scaffold clients with vue-ui-kit instead of Nuxt UI / shadcn-vue
Both `draft new client` and `draft new monorepo` (which reuses the same client scaffolding for apps/client) now wire up @fernandojvideira/vue-ui-kit as the component library on both frameworks, installed from its Gitea npm registry. Vue: drops the shadcn-vue init/add steps entirely - vue-ui-kit's theme.css is imported directly instead of a generated one, and the overlay's one shadcn Button usage now comes from vue-ui-kit. Nuxt: switches the nuxi starter from "ui" (Nuxt UI) to "minimal", wiring Tailwind v4 + vue-ui-kit by hand instead (mirrors vue-ui-kit's own Nuxt INSTALL.md instructions). Needed one real fix: the "minimal" starter has no typescript devDependency, and pnpm resolving it unpinned lands on TypeScript 7, which breaks @vue/compiler-sfc's cross-file type resolution that vue-ui-kit's components rely on - pinned to ~6.0.0 to match create-vue's own default for the Vue flow. The actual overlay content changes (token renames, icon swaps, a new useToast() composable for Nuxt, etc.) live in the project-template submodule, bumped here to its latest commit. Verified end-to-end: both frameworks install, typecheck, and build clean from a fresh `draft new client`, and were checked live in the browser. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
1 parent
145b3bb879
commit
663ffb1c09
3 files changed
+74
-66
No files matched your search
Vendored
+1
-1
Submodule assets/testdata/template updated: 3945b8b64a...c8c41b6996.
Reference in new issue
Block a user