Installation

KRDS registry를 기존 shadcn/ui 프로젝트에 설치하는 방법입니다.

Prerequisites

기존 프로젝트는 shadcn/ui가 초기화되어 있어야 합니다.

pnpm dlx shadcn@latest init

기존 Radix 기반 shadcn 프로젝트와의 호환을 위해 이 레지스트리는 Radix primitive를 유지합니다.

Install everything

pnpm dlx shadcn@latest add https://krdscn.gwlee.kr/r/krds-all.json

Install a single component

pnpm dlx shadcn@latest add https://krdscn.gwlee.kr/r/button.json

Local development

이 저장소에서 직접 확인하려면:

pnpm install
pnpm registry:build
pnpm dev

정적 GitHub Pages 산출물은:

GITHUB_PAGES=true pnpm build

빌드 결과는 out/에 생성됩니다.