beyondcode / beyondcode/devtoolsfortailwind-community

JIT styles do not work with Storybook

Offen
#15 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
5
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
storybook, tailwindcss
Bereich
frontend, tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.