beyondcode / beyondcode/devtoolsfortailwind-community

JIT styles do not work with Storybook

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I've noticed that DevTools for Tailwind will allow me to add and remove existing classes in [Storybook](https://storybook.js.org/), but JIT (including classes I am not using elsewhere) does not seem to work. Storybook uses frames--could this be a problem?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in Storybook with Tailwind JIT, including a class used only in a story, and compare it with adding or removing an existing class through DevTools for Tailwind. Investigate whether Storybook's frames prevent the JIT update from reaching the rendered story; done means newly added JIT-only classes work in Storybook.

Written by the indexing model from the issue text.

Assessment

Tech stack
storybook, tailwindcss
Domain
frontend, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.