storybook 이용시 tailwindcss 의 색깔이 적용이 안되는 현상 #101
Unanswered
Taewook1212
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
tailwind.config.js 에서 따로 작성해준 것으로 사용

-> 빌드 과정에서 tailwindcss 의 색깔 전용 클래스들을 읽지 못하는것같다.
읽을 수 있도록 tailwind.config.js 에서 바꿔주고 사용
.storybook 폴더에 안쪽에 preview.ts 에서

import '../tailwindcss.css' 추가(예시)
Beta Was this translation helpful? Give feedback.
All reactions