shadcn2 모노레포의 공통 ui 컴포넌트에 tailwind 적용 안될 때 (turborepo, tawilwind) 이전 포스팅에서 공통된 tailwind-config을 생성하여 apps/web에 적용시키는 것을 학습하였다.똑같은 방식으로 packages/ui에 컴포넌트를 생성한 후 tailwind 들을 적용시킨 뒤 webs 에서 사용할려고 하는데 공통 컴포넌트에 작성해두었던 tailwind가 먹히지 않는 사례가 생겼다.packages/ui 에 tailwind config도 똑같이 적용시켰는데 안되는 것에 대해 여러 삽질을 해본 결과 apps/web/tailwind.config.ts의 content에 /packages/ui에 있는 요소들에게도 tailwind를 입혀줘야한다고 설정하지 않아서였다.즉, // apps/web/tailwind.config.jscontent: [ "./pages/**/*.{js,ts,js.. 2024. 12. 11. shadcn/ul - Select 컴포넌트의 placeholder 색상 변경 https://github.com/shadcn-ui/ui/issues/574 Placeholder color in Select component not as expected. · Issue #574 · shadcn-ui/uiWhile I was using the form components, I noticed that the default for the placeholder in the Select component is not the same as the Input. Looking at the code I realized that the intention was for...github.com setValue("publicTag", v)}> {PUBLIC_TAG.. 2024. 9. 7. 이전 1 다음