-
Notifications
You must be signed in to change notification settings - Fork 0
shadcn/ui에서 공통 컴포넌트 install #100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
🚀 Storybook 링크: https://695a584a971db5ba962b1ac6-afzzsryigh.chromatic.com/ |
|
🚀 Storybook 링크: https://695a584a971db5ba962b1ac6-ihgimyauyc.chromatic.com/ |
|
👍 추가로 리뷰어 자동 할당해주는 CODEOWNERS 파일도 추가하였습니당...! |
awesome 👍 |
rwaeng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍필요한 공통 컴포넌트 설치까지! 감사합니다~
kimjihyo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
혹시 shadcn/ui 추가하실 때 pnpm dlx shadcn@latest init 실행하셨나요? 보통 shadcnui 초기화하면 생기는 components.json 파일이 안보여서 질문드립니다!
CLI install 방식이 아닌 Manual install방식으로 컴포넌트를 추가하였습니다! |
오 너무 좋습니다!! ㅎㅎ 제가 브랜치 풀 받아서 아래 옵션없이 실행해봤을 때 문제가 없어 보였는데 혹시 어떤 에런지 공유 가능하실까요? "pnpm": {
"overrides": {
"@types/react": "^19",
"@types/react-dom": "^19"
}
}, |
해당 에러에 대한 메시지였습니다! 100% 정확한 답변은 아닙니다. 새롭게 프로젝트를 파서 다시 진행해보니 또 정상적으로 나와서 일시적으로 나왔던 에러같기도 하고요...! pnpm-lock.yaml을 그때 제대로 확인했어야 했는데 문제 해결에 급급해서 override 방법을 찾고 바로 적용해서 문제를 해결해버린게 아쉽네요,,, |
|
@swgivenchy 아 이런 문제가 있었군요.. !! 자세하게 공유해주셔서 정말 감사합니다! 해결하는데 쉽지 않았을탠데 고생 많으셨습니다 !! 아무튼 잘 돼서 다행이네요 |
dltnwjd308
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 초기 세팅 잘해주셔서 감사합니다!

🔸 작업 내용
#99
🔸 고민 했던 부분
현재 사용중인 next의 react는 react 19의 types를 사용중이나. shadcn/ui에서 참조하는
@types/react의 경우 다른 버전을 참조하여 타입 에러가 발생하였습니다.프로젝트 루트에서 package.json을 수정하여
@types/react의 버전을 동일 버전으로 강제하도록 설정 변경하여 문제를 해결하였습니다.🔸 참고
- button
- badge
- accordion

- input

- popover

- progress
